Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/csh -f
- # ====================== HR2DAYv5.2.1 Run Script ======================
- # Usage: run.hr2day.csh >&! hr2day_v521.log &
- #
- # To report problems or request help with this script/program:
- # http://www.epa.gov/cmaq (EPA CMAQ Website)
- # http://www.cmascenter.org
- # ===================================================================
- # ==================================================================
- #> Runtime Environment Options
- # ==================================================================
- #> Set the build directory if this was not set above
- #> (this is where the executable is located by default).
- setenv BINDIR $cwd/hr2day/src
- #> Set the name of the executable.
- setenv EXEC hr2day
- #> Set location of CMAQ repo. This will be used to point to the time zone file
- #> needed to run bldoverlay.
- setenv REPO_HOME $cwd/../CMAQ/CMAQ_REPO
- # =====================================================================
- #> HR2DAY Configuration Options
- # =====================================================================
- #> set to use local time (default is GMT)
- setenv USELOCAL Y
- #> set to use daylight savings time (default is N)
- setenv USEDST N
- #> location of time zone data file, tz.csv (this is a required input file
- #> when using USELOCAL Y to shift from GMT to local time)
- setenv TZFILE ${REPO_HOME}/POST/bldoverlay/inputs/tz.csv
- #> partial day calculation (computes value for last day)
- setenv PARTIAL_DAY Y
- #> constant hour offset between desired time zone and GMT (default is 0)
- setenv HROFFSET 0
- #> starting hour for daily metrics (default is 0)
- setenv START_HOUR 0
- #> ending hour for daily metrics (default is 23)
- setenv END_HOUR 23
- #> Number of 8hr values to use when computing daily maximum 8hr ozone.
- #> Allowed values are 24 (use all 8-hr averages with starting hours
- #> from 0 - 23 hr local time) and 17 (use only the 17 8-hr averages
- #> with starting hours from 7 - 23 hr local time)
- setenv HOURS_8HRMAX 24
- # setenv HOURS_8HRMAX 17
- #> define species (format: "Name, units, From_species, Operation")
- #> operations : {SUM, AVG, MIN, MAX, @MAXT, MAXDIF, 8HRMAX, SUM06}
- setenv SPECIES_1 "O3,ppbV,O3,8HRMAX"
- #> set input and output files
- set d = ../SE52BENCH/multi_day/ref_output/cctm
- setenv FILE0 $d/CCTM_ACONC_v52_intel17.0_SE52BENCH_20110711.nc
- setenv FILE1 $d/CCTM_ACONC_v52_intel17.0_SE52BENCH_20110712.nc
- setenv FILE2 $d/CCTM_ACONC_v52_intel17.0_SE52BENCH_20110713.nc
- setenv FILE3 $d/CCTM_ACONC_v52_intel17.0_SE52BENCH_20110714.nc
- setenv INFILE "LIST:FILE0,FILE1,FILE2,FILE3"
- setenv OUTFILE OUTFILE
- rm -f $OUTFILE
- ${BINDIR}/${EXEC}
- exit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement