/Users/huttone/Devel/sedflux-new/sedflux/trunk/ew/hydrotrend/hydrotimeser.h

Go to the documentation of this file.
00001 /*
00002  *  HydroTimeser.h
00003  *
00004  *  Contains arrays of daily values.
00005  *  See variable descriptions at the end.
00006  *
00007  *  Author:   M.D. Morehead  (June-July 1998)
00008  *  Author2:  S.D. Peckham   (Jan 2002)
00009  *  Author3:  A.J. Kettner      (April 2003)
00010  */
00011 
00012 /*  Maxday = 365+50 = 415; amazon=3,900km at 1 m/s => 45 days */
00013 
00014 #define  maxday  415
00015 #define  daysiy  365
00016 #define  wrapday  50    /* Same as maxshoulder in HydroClimate.h */
00017 
00018 int  FLAindex[daysiy];
00019 
00020 long *daysievent;
00021 
00022 /*-------------------------------
00023  *  Daily suspended and bedload
00024  *-------------------------------*/
00025 double  Cs[daysiy],**Csoutlet, Qb[daysiy],**Qboutlet, Qs[daysiy], **Qsoutlet;
00026 
00027 /*---------------------------------------------------------
00028  *  Daily Temperature, Precipitation and Snow time series
00029  *---------------------------------------------------------*/
00030 double  rainarea[daysiy], Ecanopy[daysiy];
00031 double  Pdaily[daysiy], Tdaily[daysiy], **Snowelevday;
00032 
00033 /*--------------------------------------------------------------------
00034  *  Arrays for each type of daily discharge (rain,snow,ice,total,GW)
00035  *--------------------------------------------------------------------*/
00036 double  Qrain[maxday], Qice[maxday], Qnival[maxday],Qsumtot[maxday], **Qsum, Qss[maxday];
00037 
00038 /*--------------------------------------------------
00039  *  Arrays for carryover from one year to the next
00040  *--------------------------------------------------*/
00041 double  Qrainwrap[wrapday], Qicewrap[wrapday], Qnivalwrap[wrapday];
00042 double  Qsswrap[wrapday], *Snowcarry;
00043 
00044 /*-------------------------------------------
00045  *  Arrays for the groundwater storage pool
00046  *-------------------------------------------*/
00047 double  gwstore[daysiy], Qicetogw[daysiy], Qnivaltogw[daysiy];
00048 double  Egw[daysiy], Qexceedgw[daysiy];
00049 
00050 
00051 /*
00052  *
00053  * Variable             Def.Location    Type    Units   Usage
00054  * --------             ------------    ----    -----   -----
00055  *
00056  * Cs[]         HydroTimeser.h  double  kg/m^3  daily suspended load concentration
00057  * Ecanopy              HydroTimeser.h  double  m/day   canopy evaporation
00058  * Egw[]                HydroTimeser.h  double  m/day   groundwater evaporation
00059  * FLAindex[]   HydroTimeser.h  int     -       Elevation (elevbins) index of the Freezing Line Altitude
00060  * Pdaily[]             HydroTimeser.h  double  m/day   Actual daily rainfall at the river mouth
00061  * Qb[]         HydroTimeser.h  double  kg/s    daily bedload flux
00062  * Qexceedgw[]  HydroTimeser.h  double  m^3/s   daily discharge from Ice and Nival which exceeds GW capacity
00063  * Qice[]               HydroTimeser.h  double  m^3/s   daily glacially derived discharge
00064  * Qicetogw[]   HydroTimeser.h  double  m^3/s   daily glacially derived groundwater discharge
00065  * Qicewrap[]   HydroTimeser.h  double  m^3/s   daily glacial discharge overflowing to the next year
00066  * Qnival[]             HydroTimeser.h  double  m^3/s   daily snow derived discharge
00067  * Qnivaltogw[] HydroTimeser.h  double  m^3/s   daily snow derived groundwater discharge
00068  * Qnivalwrap[] HydroTimeser.h  double  m^3/s   daily snow discharge overflowing to the next year
00069  * Qrain[]              HydroTimeser.h  double  m^3/s   daily rain derived discharge
00070  * Qrainwrap[]  HydroTimeser.h  double  m^3/s   daily rain discharge overflowing to the next year
00071  * Qs[]         HydroTimeser.h  double  kg/s    daily suspended load flux
00072  * Qss[]                HydroTimeser.h  double  m^3/s   subsurface storm flow to river
00073  * Qsswrap[]    HydroTimeser.h  double  m^3/s   daily GW overflowing to the next year
00074  * Qsum[]               HydroTimeser.h  double  m^3/s   summed daily discharge
00075  * Snowcarry[]  HydroTimeser.h  double  m       snow carried over from previous year
00076  * Snowelevday[]        HydroTimeser.h  double  m       snow cover (m water equiv) for that elev/day
00077  * Tdaily[]             HydroTimeser.h  double  degC    Actual daily Temperature at the river mouth
00078  * daysiy               HydroTimeser.h  define  -       number of days/year
00079  * gwstore[]    HydroTimeser.h  double  m^3     actual groundwater storage on a given day
00080  * maxday                                               allow for overflow to next year
00081  * maxday               HydroTimeser.h  define  -       number of days in time series arrays
00082  * rainarea[]   HydroTimeser.h  double  m^2     basin area over which rain falls
00083  * wrapday              HydroClimate.h  define  -       maximum number of shoulder days
00084  *
00085  */
00086 
00087 

Generated on Fri Jan 4 18:04:14 2008 for sedflux by  doxygen 1.5.2