Hello,
I am attempting to run a spring and fall simulation, so I need to create a bioseason file for my domain. As opposed to running the whole year, I want to run only an october & april month (with spinup in the month previous, but I created dummy files to make metcro* files for sept & march as well). I have been attempting to use m3scan to create this bioseason file, but it is not working.
I used ncrcat METCRO2D* to create the 1 file, all timesteps required for m3scan. The m3scan utility still says it does not recognize the time:
Value for PROMPTFLAG: N returning FALSE
Returning default value TRUE for query:
"Continue with program?"
Value for TMPR_VAR: 'TEMP2'
Value for TMPR_VAR: 'TEMP2'
Value for N_S_HEMI: 'NORTH'
Value for N_S_HEMI: 'NORTH'
Value for PROMPTFLAG: N returning FALSE
Value for IOAPI_CHECK_HEADERS not defined;returning default: FALSE
"MET_CRO_3D" opened as OLD:READ-ONLY
File name "/projects/b1045/wrf-cmaq/output/Chicago_LADCO/wrf_pure_201810/mcip/d03/METCRO2D_2018_ChicagoLADCO_d03"
File type GRDDED3
Execution ID "????????????????"
Grid name "METCRO_ChicagoLA"
Dimensions: 288 rows, 315 cols, 1 lays, 34 vbles
NetCDF ID: 65536 opened as READONLY
Starting date and time 2018244:000000 (0:00:00 Sept. 1, 2018)
Timestep 010000 (1:00:00 hh:mm:ss)
Maximum current record number 1575
>>--->> WARNING in subroutine RDTFLAG
Time step not available in file MET_CRO_3D for variable TEMP2
M3WARN: DTBUF 1:00:00 Sept. 2, 2018 (2018245:010000)
*** ERROR ABORT in subroutine METSCAN
ERROR: Could not read variable "TEMP2" from file "MET_CRO_3D
I have the 2016 beta and alpha platform of smoke, using v4.5. Is my issue that I need to use m3xtract to create the megafile? When I try to make the single file only contain temp2, the error is that the program cannot open the tile.
So I guess in brief, my question is: 1) Do I need to create a bioseason file for an entire year? 2) Do I need to use m3xtract to create the large file? 3) Can only 1 variable exist in the file for m3scan?
This is my script to create the bioseason file:
setenv INSTALL_DIR /projects/b1045/SMOKE.EMF/2016_beta
setenv GRID ChicagoLADCO_d03 # should match GRIDDESC
setenv MET_ROOT /projects/b1045/wrf-cmaq/output/Chicago_LADCO/wrf_pure_201810/mcip/d03
setenv OUT_PATH $INSTALL_DIR/bioseason
setenv YEAR 2018
setenv LABEL 2018g # for filenames
setenv LEAP N # Is the year a leap year
setenv SPINUP_DURATION 0 #10 # assumes December of previous year
setenv RUN_LENGTH 41 # not including spinup
set temp2 = 12 # variable number of TEMP2 in METCRO2Ds
setenv SMOKE_LOCATION $INSTALL_DIR/smoke4.6/Linux2_x86_64ifort
setenv IOAPI_LOCATION $INSTALL_DIR/ioapi/Linux2_x86_64ifort
############
# Run Metscan to create the full year bioseasons file
setenv EDSS_ROOT $OUT_PATH
setenv N_S_HEMI NORTH
setenv binpath $SMOKE_LOCATION
setenv BIOSEASON $OUT_PATH/bioseason.cmaq.${LABEL}_${GRID}.ncf
setenv PROMPTFLAG N
setenv TMPR_VAR TEMP2
setenv MET_CRO_3D $MET_ROOT/METCRO2D_${YEAR}_${GRID}
#setenv LOGFILE $OUT_PATH/logs/bioseason.cmaq.${LABEL}.${GRID}.log
$binpath/metscan
Any guidance on how to create this file would be great, thank you.