DRAINMOD 6.1 Help File

Hints and Notes on Weather Files

Hints and Notes on Weather Files

Previous topic Next topic  

Hints and Notes on Weather Files

Previous topic Next topic  

·        Use your favorite editor to look at your rainfall, temperature or PET files.  Note the station ID code in each file.  Write down the starting month, day and year of each file.  Go to the end of each file and note the ending month, day and year.

 

·        Check the DRAINMOD input data to be sure you have the correct Station ID for the rainfall and temperature or PET files. This input data occurs on the Weather screen of the DRAINMOD shell. DRAINMOD simulates complete years.  If your last year does not end on December 31 (12/31), then you will not receive summary data for that year. Monthly and daily files will reflect the periods up to the ending date of the year.

 

·        Check the starting and ending times of your .GEN data set. You must have both rainfall and temperature weather data for the period.

 

·        If you are receiving errors from your weather input files, then compare the file format of your files with those given below. DRAINMOD reads the weather files for each month of the simulations.  The FORTRAN statements to read the Weather files are:

 

Temperature:

 

       READ(7,700,END=300) ITDA,IYDAT,IMDAT,(TMAX(I),TMIN(I),I=1,31)

700     FORMAT (I6,1X,I4,I2,5X,28I3/34I3)

 

where:

 

ITDA is station ID

 IYDAT is the year

 IMDAT is the month

 

TMAX(I) is the maximum temperature in deg F for day I

 

TMIN(I) is the minimum temperature in deg F for day I

 

 

Rainfall:

 

262   READ(9,710,END=310) IRDA,IRECTY,IYDAR,IMDAR,(IDDARY(L),IHRARY(L),

    $  RDA(L),L=1,12)

710   FORMAT (I6,A1,I4,I2,1X,12(2I2,F4.2))

 

where:

 

IRDA is station ID

 

IRECTY is an indicator for estimated data

 IYDAR is the year

 IMDAR is the month

 IDDARY(L) is the day of the month for entry L

 IHRARY(L) is the hour of entry L

 RDA(L) is the amount in hundredths of inches for entry L

 

 

PET:

 

       READ(7,705,END=300) ITDA,IYDAT,IMDAT,(ET(I),I=1,31)

705     FORMAT (I6,1X,I4,I2,3X,14(1X,F3.2)/17(1X,F3.2))

 

where:

 

ITDA is station ID

 IYDAT is the year

 IMDAT is the month

 ET(I) is the PET in hundredths of inches for day I

 

 

·        If you are still unable to get your weather data to work, you may contact us.  More than likely we will need a copy of your files to resolve the problem.