Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update path for M2_REPLAY_ANA_LOCATION #377

Merged
merged 5 commits into from
Dec 2, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGCM.rc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ RECORD_REF_TIME: >>>REFTIME<<< >>>FCSTIME<<<
#M2 REPLAY_ANA_EXPID: MERRA-2
#M2 REPLAY_ANA_LOCATION: @M2_REPLAY_ANA_LOCATION
#M2 REPLAY_MODE: Regular
#M2 REPLAY_FILE: ana/Y%y4/M%m2/MERRA-2.ana.eta.%y4%m2%d2_%h2z.nc4
#M2 REPLAY_FILE: /discover/nobackup/projects/gmao/merra2/data/ana/MERRA2_all/Y%y4/M%m2/MERRA2.ana.eta.%y4%m2%d2_%h2z.nc4
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sanAkel I'm not sure this needs to be a full path. I want to say the model uses REPLAY_ANA_LOCATION to prepend to REPLAY_FILE. So this probably should only be...uh...maybe:

#M2 REPLAY_FILE Y%y4/M%m2/MERRA2.ana.eta.%y4%m2%d2

Dunno. Probably needs testing.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: It's done this way because the files are in a different place at NAS...and I now realize we probably need to do something at NAS for this. I'll talk with @bena-nasa ...

Copy link
Collaborator Author

@sanAkel sanAkel Nov 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mathomp4 The "prepend" did not work for me. I tested withOUT full path (in REPLAY_FILE) and at runtime it was looking for files like: Y%y4/M%m2/MERRA2.ana.eta.%y4%m2%d2_%h2z.nc4. My test was at NCCS.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sanAkel Hmm. Well need to to figure it out otherwise we break Replay at NAS. I'll try and see if I can figure it out.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mathomp4 line 2641 of /discover/nobackup/sakella/test1/slurm-66111020.out may help!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. I think it's done and seems to work. Apparently we need REPLAY_FILE to start with ana/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh. And I pushed the changes. Give them a try when you can.

# -----------------------------------------------------------------

# ANA EXPID and LOCATION used for REPLAY
Expand Down
2 changes: 1 addition & 1 deletion gcm_setup
Original file line number Diff line number Diff line change
Expand Up @@ -1480,7 +1480,7 @@ else if( $SITE == 'NCCS' ) then
setenv BCSDIR /discover/nobackup/ltakacs/bcs/${LSM_BCS}/${LSM_BCS}_${OCEAN_TAG} # location of Boundary Conditions
setenv REPLAY_ANA_EXPID x0039 # Default Analysis Experiment for REPLAY
setenv REPLAY_ANA_LOCATION /discover/nobackup/projects/gmao/g6dev/ltakacs/x0039 # Default Analysis Location for REPLAY
setenv M2_REPLAY_ANA_LOCATION /discover/nobackup/projects/gmao/share/gmao_ops/verification/MERRA-2 # Default Analysis Location for M2 REPLAY
setenv M2_REPLAY_ANA_LOCATION /discover/nobackup/projects/gmao/merra2/data/ana/MERRA2_all # Default Analysis Location for M2 REPLAY

if( ${OGCM_IM}x${OGCM_JM} == "1440x720" ) then
setenv SSTDIR $SHARE/gmao_ops/fvInput/g5gcm/bcs/SST/${OGCM_IM}x${OGCM_JM} # location of SST Boundary Conditions
Expand Down
2 changes: 1 addition & 1 deletion geoschemchem_setup
Original file line number Diff line number Diff line change
Expand Up @@ -1531,7 +1531,7 @@ else if( $SITE == 'NCCS' ) then
setenv BCSDIR /discover/nobackup/ltakacs/bcs/${LSM_BCS}/${LSM_BCS}_${OCEAN_TAG} # location of Boundary Conditions
setenv REPLAY_ANA_EXPID x0039 # Default Analysis Experiment for REPLAY
setenv REPLAY_ANA_LOCATION /discover/nobackup/projects/gmao/g6dev/ltakacs/x0039 # Default Analysis Location for REPLAY
setenv M2_REPLAY_ANA_LOCATION /discover/nobackup/projects/gmao/share/gmao_ops/verification/MERRA-2 # Default Analysis Location for M2 REPLAY
setenv M2_REPLAY_ANA_LOCATION /discover/nobackup/projects/gmao/merra2/data/ana/MERRA2_all # Default Analysis Location for M2 REPLAY

if( ${OGCM_IM}x${OGCM_JM} == "1440x720" ) then
setenv SSTDIR $SHARE/gmao_ops/fvInput/g5gcm/bcs/SST/${OGCM_IM}x${OGCM_JM} # location of SST Boundary Conditions
Expand Down
2 changes: 1 addition & 1 deletion gmichem_setup
Original file line number Diff line number Diff line change
Expand Up @@ -1664,7 +1664,7 @@ else if( $SITE == 'NCCS' ) then
setenv BCSDIR /discover/nobackup/ltakacs/bcs/${LSM_BCS}/${LSM_BCS}_${OCEAN_TAG} # location of Boundary Conditions
setenv REPLAY_ANA_EXPID x0039 # Default Analysis Experiment for REPLAY
setenv REPLAY_ANA_LOCATION /discover/nobackup/projects/gmao/g6dev/ltakacs/x0039 # Default Analysis Location for REPLAY
setenv M2_REPLAY_ANA_LOCATION /discover/nobackup/projects/gmao/share/gmao_ops/verification/MERRA-2 # Default Analysis Location for M2 REPLAY
setenv M2_REPLAY_ANA_LOCATION /discover/nobackup/projects/gmao/merra2/data/ana/MERRA2_all # Default Analysis Location for M2 REPLAY

if( ${OGCM_IM}x${OGCM_JM} == "1440x720" | $SST_REALTIME == "FALSE" ) then
setenv SSTDIR $SHARE/gmao_ops/fvInput/g5gcm/bcs/SST/${OGCM_IM}x${OGCM_JM} # location of SST Boundary Conditions
Expand Down
2 changes: 1 addition & 1 deletion stratchem_setup
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ else if( $SITE == 'NCCS' ) then
setenv BCSDIR /discover/nobackup/ltakacs/bcs/${LSM_BCS}/${LSM_BCS}_${OCEAN_TAG} # location of Boundary Conditions
setenv REPLAY_ANA_EXPID x0039 # Default Analysis Experiment for REPLAY
setenv REPLAY_ANA_LOCATION /discover/nobackup/projects/gmao/g6dev/ltakacs/x0039 # Default Analysis Location for REPLAY
setenv M2_REPLAY_ANA_LOCATION /discover/nobackup/projects/gmao/share/gmao_ops/verification/MERRA-2 # Default Analysis Location for M2 REPLAY
setenv M2_REPLAY_ANA_LOCATION /discover/nobackup/projects/gmao/merra2/data/ana/MERRA2_all Default Analysis Location for M2 REPLAY

if( ${OGCM_IM}x${OGCM_JM} == "1440x720" ) then
setenv SSTDIR $SHARE/gmao_ops/fvInput/g5gcm/bcs/SST/${OGCM_IM}x${OGCM_JM} # location of SST Boundary Conditions
Expand Down