Guest User

test_hr2day.csh

a guest
Jun 5th, 2019
91
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #! /bin/csh -f
  2.  
  3. # ====================== HR2DAYv5.2.1 Run Script ======================
  4. # Usage: run.hr2day.csh >&! hr2day_v521.log &
  5. #
  6. # To report problems or request help with this script/program:
  7. #             http://www.epa.gov/cmaq    (EPA CMAQ Website)
  8. #             http://www.cmascenter.org
  9. # ===================================================================
  10.  
  11. # ==================================================================
  12. #> Runtime Environment Options
  13. # ==================================================================
  14.  
  15. #> Set the build directory if this was not set above
  16. #> (this is where the executable is located by default).
  17.  setenv BINDIR $cwd/hr2day/src
  18.  
  19. #> Set the name of the executable.
  20.  setenv EXEC hr2day
  21.  
  22. #> Set location of CMAQ repo.  This will be used to point to the time zone file
  23. #> needed to run bldoverlay.  
  24.  setenv REPO_HOME $cwd/../CMAQ/CMAQ_REPO
  25.  
  26. # =====================================================================
  27. #> HR2DAY Configuration Options
  28. # =====================================================================
  29.  
  30. #> set to use local time (default is GMT)
  31.  setenv USELOCAL Y
  32.  
  33. #> set to use daylight savings time (default is N)
  34.  setenv USEDST N
  35.  
  36. #> location of time zone data file, tz.csv (this is a required input file
  37. #> when using USELOCAL Y to shift from GMT to local time)
  38.  setenv TZFILE ${REPO_HOME}/POST/bldoverlay/inputs/tz.csv
  39.  
  40. #> partial day calculation (computes value for last day)
  41.  setenv PARTIAL_DAY Y
  42.  
  43. #> constant hour offset between desired time zone and GMT (default is 0)
  44.  setenv HROFFSET 0
  45.  
  46. #> starting hour for daily metrics (default is 0)
  47.  setenv START_HOUR 0
  48.  
  49. #> ending hour for daily metrics (default is 23)
  50.  setenv END_HOUR 23
  51.  
  52. #> Number of 8hr values to use when computing daily maximum 8hr ozone.
  53. #> Allowed values are 24 (use all 8-hr averages with starting hours
  54. #> from 0 - 23 hr local time) and 17 (use only the 17 8-hr averages
  55. #> with starting hours from 7 - 23 hr local time)
  56.  setenv HOURS_8HRMAX 24
  57. # setenv HOURS_8HRMAX 17
  58.  
  59. #> define species (format: "Name, units, From_species, Operation")
  60. #>  operations : {SUM, AVG, MIN, MAX, @MAXT, MAXDIF, 8HRMAX, SUM06}
  61.  setenv SPECIES_1 "O3,ppbV,O3,8HRMAX"
  62.  
  63. #> set input and output files
  64. set d = ../SE52BENCH/multi_day/ref_output/cctm
  65. setenv FILE0 $d/CCTM_ACONC_v52_intel17.0_SE52BENCH_20110711.nc
  66. setenv FILE1 $d/CCTM_ACONC_v52_intel17.0_SE52BENCH_20110712.nc
  67. setenv FILE2 $d/CCTM_ACONC_v52_intel17.0_SE52BENCH_20110713.nc
  68. setenv FILE3 $d/CCTM_ACONC_v52_intel17.0_SE52BENCH_20110714.nc
  69.  
  70.   setenv INFILE "LIST:FILE0,FILE1,FILE2,FILE3"
  71.  
  72.  setenv OUTFILE OUTFILE
  73.  rm -f $OUTFILE
  74.  
  75.  ${BINDIR}/${EXEC}
  76.  
  77.  exit()
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×