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

Move regression test input data outside baseline directories #312

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
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
60 changes: 30 additions & 30 deletions tests/fv3_conf/ccpp_c96_HAFS_v0_hwrf_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -3,47 +3,47 @@ mkdir INPUT RESTART

if [ $IMP_PHYSICS = 8 ]; then
if [ $WARM_START = .F. ]; then
cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/* INPUT/
cp -r @[INPUTDATA_ROOT]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/* INPUT/
else
cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/grid_spec*.nc INPUT/
cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/C96_grid*.nc INPUT/
cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/oro_data*.nc INPUT/
cp -r @[INPUTDATA_ROOT]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/grid_spec*.nc INPUT/
cp -r @[INPUTDATA_ROOT]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/C96_grid*.nc INPUT/
cp -r @[INPUTDATA_ROOT]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/oro_data*.nc INPUT/
cp ../fv3_ccpp_gsd_coldstart${RT_SUFFIX}/RESTART/* INPUT/
fi
elif [ $IMP_PHYSICS = 15 ]; then
if [ $WARM_START = .F. ]; then
cp -r @[RTPWD]/FV3_input_data/INPUT/* INPUT/
cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT/* INPUT/
else
cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT/
cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT/
fi
else
echo "ERROR, no input data configured for IMP_PHYSICS=${IMP_PHYSICS}"
exit 1
fi

cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat .
cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt .
cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt .
cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt .
cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[RTPWD]/FV3_input_data/*grb .
cp @[RTPWD]/FV3_input_data/*_table .
cp @[RTPWD]/FV3_input_data/*configure .
cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat .
cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt .
cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt .
cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt .
cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[INPUTDATA_ROOT]/FV3_input_data/*grb .
cp @[INPUTDATA_ROOT]/FV3_input_data/*_table .
cp @[INPUTDATA_ROOT]/FV3_input_data/*configure .

# Copy landuse/soil/vegetation parameter tables for HWRF Noah LSM
cp @[RTPWD]/FV3_input_data_hafs/GENPARM.TBL .
cp @[RTPWD]/FV3_input_data_hafs/SOILPARM.TBL .
cp @[RTPWD]/FV3_input_data_hafs/VEGPARM.TBL .
cp @[INPUTDATA_ROOT]/FV3_input_data_hafs/GENPARM.TBL .
cp @[INPUTDATA_ROOT]/FV3_input_data_hafs/SOILPARM.TBL .
cp @[INPUTDATA_ROOT]/FV3_input_data_hafs/VEGPARM.TBL .

# Copy diag table, depending on microphysics choice
if [ $IMP_PHYSICS = 8 ]; then
cp @[RTPWD]/FV3_input_data_gsd/diag_table_gsd_noah diag_table
cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/diag_table_gsd_noah diag_table
elif [ $IMP_PHYSICS = 15 ]; then
if [ $IOVR = 4 ]; then
cp @[RTPWD]/FV3_input_data_hafs/diag_table_FA_HWRF diag_table
cp @[INPUTDATA_ROOT]/FV3_input_data_hafs/diag_table_FA_HWRF diag_table
else
cp @[RTPWD]/FV3_input_data_hafs/diag_table_FA diag_table
cp @[INPUTDATA_ROOT]/FV3_input_data_hafs/diag_table_FA diag_table
fi
else
echo "ERROR, no diag table configured for IMP_PHYSICS=${IMP_PHYSICS}"
Expand All @@ -54,32 +54,32 @@ fi
if [ $IMP_PHYSICS = 8 ]; then
if [ $LTAEROSOL = .T. ]; then
if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then
cp @[RTPWD]/FV3_input_data_gsd/field_table_gsd field_table
cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_gsd field_table
else
cp @[RTPWD]/FV3_input_data_gsd/field_table_gf_thompson field_table
cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_gf_thompson field_table
fi
else
if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then
echo "ERROR, no field table configured for Thompson MP without aerosols but with MYNN or SATMEDMF (need TKE)"
exit 1
else
cp @[RTPWD]/FV3_input_data_gsd/field_table_thompson_noaero field_table
cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_thompson_noaero field_table
fi
fi
elif [ $IMP_PHYSICS = 15 ]; then
# Copy field table for Ferrier-Aligo MP
cp @[RTPWD]/FV3_input_data_hafs/field_table_FA_nwat4 field_table
cp @[INPUTDATA_ROOT]/FV3_input_data_hafs/field_table_FA_nwat4 field_table
else
echo "ERROR, no field table configured for IMP_PHYSICS=${IMP_PHYSICS}"
exit 1
fi

# Thompson or F-A MP lookup tables
if [ $IMP_PHYSICS = 8 ]; then
cp @[RTPWD]/FV3_input_data_gsd/qr_acr_qs.dat .
cp @[RTPWD]/FV3_input_data_gsd/qr_acr_qg.dat .
cp @[RTPWD]/FV3_input_data_gsd/freezeH2O.dat .
cp @[RTPWD]/FV3_input_data_gsd/CCN_ACTIVATE.BIN .
cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/qr_acr_qs.dat .
cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/qr_acr_qg.dat .
cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/freezeH2O.dat .
cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/CCN_ACTIVATE.BIN .
elif [ $IMP_PHYSICS = 15 ]; then
cp @[RTPWD]/FV3_input_data/DETAMPNEW_DATA* .
cp @[INPUTDATA_ROOT]/FV3_input_data/DETAMPNEW_DATA* .
fi
32 changes: 16 additions & 16 deletions tests/fv3_conf/ccpp_control_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ echo "inputdir=$inputdir,NPX=$NPX"

UNIT_TEST=${UNIT_TEST:-false}
if [ $WARM_START = .F. ]; then
cp -r @[RTPWD]/${inputdir}/INPUT .
cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT .
mkdir RESTART
else
mkdir INPUT RESTART

if [[ ${UNIT_TEST} == false ]]; then
cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT
cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT
else
cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT
cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT
rm -f INPUT/fv_core.res.*
rm -f INPUT/fv_srf_wnd.res.*
rm -f INPUT/fv_tracer.res.*
Expand All @@ -35,24 +35,24 @@ else
fi
fi

cp @[RTPWD]/${inputdir}/INPUT/aerosol.dat .
cp @[RTPWD]/${inputdir}/INPUT/co2historicaldata_201*.txt .
cp @[RTPWD]/${inputdir}/INPUT/sfc_emissivity_idx.txt .
cp @[RTPWD]/${inputdir}/INPUT/solarconstant_noaa_an.txt .
cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/aerosol.dat .
cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/co2historicaldata_201*.txt .
cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/sfc_emissivity_idx.txt .
cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/solarconstant_noaa_an.txt .
if [ $OZ_PHYS_NEW = .T. ]; then
cp @[RTPWD]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
cp @[INPUTDATA_ROOT]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
elif [ $OZ_PHYS_OLD = .T. ]; then
cp @[RTPWD]/${inputdir}/INPUT/global_o3prdlos.f77 .
cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/global_o3prdlos.f77 .
fi
if [ $H2O_PHYS = .T. ]; then
cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77
fi
cp @[RTPWD]/${inputdir}/*grb .
cp @[RTPWD]/${inputdir}/*_table .
cp @[RTPWD]/${inputdir}/*configure .
cp @[INPUTDATA_ROOT]/${inputdir}/*grb .
cp @[INPUTDATA_ROOT]/${inputdir}/*_table .
cp @[INPUTDATA_ROOT]/${inputdir}/*configure .

if [ $CPLWAV = .T. ]; then
cp @[RTPWD]/WW3_input_data/mod_def.* .
cp @[RTPWD]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp .
cp @[RTPWD]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/rmp_src* .
cp @[INPUTDATA_ROOT]/WW3_input_data/mod_def.* .
Copy link
Collaborator

Choose a reason for hiding this comment

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

mod_def files change more frequently than other input changes, I think it would be good to keep the mod_defs in the baseline directory while the other files live in the INPUTDATA_ROOT directory. This could be done as a second commit for follow up if desired.

Copy link
Collaborator

Choose a reason for hiding this comment

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

May I ask what makes mod_def files changed so frequently when ww3 source code is updated? Is there a way to make ww3 grid def not tied up with source code updates?

Copy link
Collaborator

Choose a reason for hiding this comment

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

The mod_def files pre-process grid and physics information. The fix file they process does not change and should remain in the INPUTDATA_ROOT directory. However, if a new feature is added, this will change the binary processed file. While not every update of WW3 updates the mod_defs, they will certainly be updated more than any other fixed input file, which is why I would recommend putting this in the baseline directory. A major rewrite/restructuring of WW3 would be required for these files to not need to occasionally be updated including optimization of the pre-processing that occurs in the generation of these mod_def files.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This PR separates all input files (now located in $INPUTDATA_ROOT) from all output (history) files which we save and call 'baselines'. When the rt.sh is executed with '-c' command line flag (create baseline mode) tests are executed and all output files that we need to save as 'a new baseline' are saved in $NEW_BASELINE which is then moved to develop-YYYYMMDD.

Moving purely input data ( mod_def.* ) from $INPUTDATA_ROOT to a baseline (output) directory will break this clear separation of input vs output, and so rt.sh will need to know that some input data are in $INPUTDATA_ROOT and some are in develop-YYYYMMDD ($RTPWD). It will also need some mechanism of syncing (some) input data from baseline directory over to the new baseline directory, which will be the special case just for these files.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

All mod_def.* files are binary but I see they all start with header like:

^@^@^AÏWAVEWATCH III MODEL DEFINITION FILE2020-06-18

What's the meaning of this date 2020-06-18? Is this some sort of version number of the file? If it is will the 'new' version of the mod_def files have different (version) date? If they will, maybe we can store multiple 'versions' of the mod_def files in same input directory and have rt.sh use the one that specific version of WW3 submoudule needs.
Then when WW3 is updated and it needs new mod_def file we can just add them (as a new version) to the current $INPUTDATA_ROOT, without creating entire new input data directory. Adding new files should not require new input-data-YYYYMMDD.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@DusanJovic-NOAA the 2020-06-18 is coming from: https://github.com/NOAA-EMC/WW3/blob/develop/model/ftn/w3iogrmd.ftn#L70 which is the "version" number of that file. I like your idea of just having WW3 version numbers so that we can add more files without having more and more directories. That is also clean in terms of keeping the input files separate and all together. The only wrinkle with that, is then my ambition of some day adding an automatic generator of that input file when creating the baseline directory doesn't really work in the way I originally was thinking about, but I'm sure something could be worked out for that too.

@junwang-noaa the mod_def files contain a lot of information and sometimes you are just storing that a new feature is "false" and you are not using it but because it's now an option this file will change. Sometimes it changes every commit, many times it does not. You can see a description of all of the inputs that go into this file here: https://github.com/NOAA-EMC/WW3/blob/develop/model/inp/ww3_grid.inp the mod_def will also change if you use a different switch file but are still using the same ww3_grid.inp input file.

Copy link
Contributor

Choose a reason for hiding this comment

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

@JessicaMeixner-NOAA @junwang-noaa @DusanJovic-NOAA, If I understand correctly, the INPUTDATA_ROOT dir and its content will also change (slowly, not as frequently as the baseline), right? For example, adding new input files for new regression test cases, replacing old/obsolete files, etc. If that's the case, the WW3 mod_def.* files (typically change less frequently) can still sit in the INPUTDATA_ROOT dir. Whenever, they need to be updated, they can be updated in the INPUTDATA_ROOT dir as well. I assume the INPUTDATA_ROOT dirs will also have different versions (saying INPUTDATA_yyyymmdd). Just a thought. May or may not be useful.

cp @[INPUTDATA_ROOT]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp .
cp @[INPUTDATA_ROOT]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/rmp_src* .
fi
26 changes: 13 additions & 13 deletions tests/fv3_conf/ccpp_cpt_run.IN
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
rm -fr INPUT RESTART
inputdir=FV3_input_data_127
if [ $WARM_START = .F. ]; then
cp -r @[RTPWD]/${inputdir}/INPUT .
cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT .
mkdir RESTART
else
mkdir INPUT RESTART
cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT
cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT
fi
cp @[RTPWD]/${inputdir}/INPUT/aerosol.dat .
cp @[RTPWD]/${inputdir}/INPUT/co2historicaldata_201*.txt .
cp @[RTPWD]/${inputdir}/INPUT/sfc_emissivity_idx.txt .
cp @[RTPWD]/${inputdir}/INPUT/solarconstant_noaa_an.txt .
cp @[RTPWD]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
cp @[RTPWD]/${inputdir}/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[RTPWD]/${inputdir}/*grb .
cp @[RTPWD]/${inputdir}/*_table .
cp @[RTPWD]/${inputdir}/diag_table_mg3tke diag_table
cp @[RTPWD]/${inputdir}/field_table_csawmg3shoc field_table
cp @[RTPWD]/${inputdir}/*configure .
cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/aerosol.dat .
cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/co2historicaldata_201*.txt .
cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/sfc_emissivity_idx.txt .
cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/solarconstant_noaa_an.txt .
cp @[INPUTDATA_ROOT]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
cp @[INPUTDATA_ROOT]/${inputdir}/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[INPUTDATA_ROOT]/${inputdir}/*grb .
cp @[INPUTDATA_ROOT]/${inputdir}/*_table .
cp @[INPUTDATA_ROOT]/${inputdir}/diag_table_mg3tke diag_table
cp @[INPUTDATA_ROOT]/${inputdir}/field_table_csawmg3shoc field_table
cp @[INPUTDATA_ROOT]/${inputdir}/*configure .
26 changes: 13 additions & 13 deletions tests/fv3_conf/ccpp_csawmg3shoc127_run.IN
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
rm -fr INPUT RESTART
inputdir=FV3_input_data_127
if [ $WARM_START = .F. ]; then
cp -r @[RTPWD]/${inputdir}/INPUT .
cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT .
mkdir RESTART
else
mkdir INPUT RESTART
cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT
cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT
fi
cp @[RTPWD]/${inputdir}/INPUT/aerosol.dat .
cp @[RTPWD]/${inputdir}/INPUT/co2historicaldata_201*.txt .
cp @[RTPWD]/${inputdir}/INPUT/sfc_emissivity_idx.txt .
cp @[RTPWD]/${inputdir}/INPUT/solarconstant_noaa_an.txt .
cp @[RTPWD]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
cp @[RTPWD]/${inputdir}/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[RTPWD]/${inputdir}/*grb .
cp @[RTPWD]/${inputdir}/*_table .
cp @[RTPWD]/${inputdir}/diag_table_mg3tke diag_table
cp @[RTPWD]/${inputdir}/field_table_csawmg3shoc field_table
cp @[RTPWD]/${inputdir}/*configure .
cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/aerosol.dat .
cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/co2historicaldata_201*.txt .
cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/sfc_emissivity_idx.txt .
cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/solarconstant_noaa_an.txt .
cp @[INPUTDATA_ROOT]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
cp @[INPUTDATA_ROOT]/${inputdir}/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[INPUTDATA_ROOT]/${inputdir}/*grb .
cp @[INPUTDATA_ROOT]/${inputdir}/*_table .
cp @[INPUTDATA_ROOT]/${inputdir}/diag_table_mg3tke diag_table
cp @[INPUTDATA_ROOT]/${inputdir}/field_table_csawmg3shoc field_table
cp @[INPUTDATA_ROOT]/${inputdir}/*configure .
46 changes: 23 additions & 23 deletions tests/fv3_conf/ccpp_csawmg_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ rm -fr INPUT RESTART

UNIT_TEST=${UNIT_TEST:-false}
if [ $WARM_START = .F. ]; then
cp -r @[RTPWD]/FV3_input_data/INPUT .
cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT .
mkdir RESTART
else
mkdir INPUT RESTART

if [[ ${UNIT_TEST} == false ]]; then
cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT
cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT
else
cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT
cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT
rm -f INPUT/fv_core.res.*
rm -f INPUT/fv_srf_wnd.res.*
rm -f INPUT/fv_tracer.res.*
Expand All @@ -25,26 +25,26 @@ else
fi
fi

cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat .
cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt .
cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt .
cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt .
cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[RTPWD]/FV3_input_data/*grb .
cp @[RTPWD]/FV3_input_data/*_table .
cp @[RTPWD]/FV3_input_data/diag_table_mgrs diag_table
#cp @[RTPWD]/FV3_input_data/field_table_mgrs field_table
cp @[RTPWD]/FV3_input_data/field_table_csawmg field_table
cp @[RTPWD]/FV3_input_data/*configure .
cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc .
cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat .
cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt .
cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt .
cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt .
cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[INPUTDATA_ROOT]/FV3_input_data/*grb .
cp @[INPUTDATA_ROOT]/FV3_input_data/*_table .
cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_mgrs diag_table
#cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_mgrs field_table
cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_csawmg field_table
cp @[INPUTDATA_ROOT]/FV3_input_data/*configure .
cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc .
for n in 01 02 03 04 05 06 07 08 09 10 11 12; do
ln -sf merra2C.aerclim.2003-2014.m${n}.nc aeroclim.m${n}.nc
done
cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc
cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc
cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat
cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat
cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat
cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat
cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat
cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc
cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc
cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat
cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat
cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat
cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat
cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat
44 changes: 22 additions & 22 deletions tests/fv3_conf/ccpp_csawmgshoc_run.IN
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
rm -fr INPUT RESTART
if [ $WARM_START = .F. ]; then
cp -r @[RTPWD]/FV3_input_data/INPUT .
cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT .
mkdir RESTART
else
mkdir INPUT RESTART
cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT
cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT
fi
cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat .
cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt .
cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt .
cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt .
cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[RTPWD]/FV3_input_data/*grb .
cp @[RTPWD]/FV3_input_data/*_table .
cp @[RTPWD]/FV3_input_data/diag_table_mgtkers diag_table
#cp @[RTPWD]/FV3_input_data/field_table_mgtkers field_table
cp @[RTPWD]/FV3_input_data/field_table_csawmgshoc field_table
cp @[RTPWD]/FV3_input_data/*configure .
cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc .
cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat .
cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt .
cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt .
cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt .
cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77
cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77
cp @[INPUTDATA_ROOT]/FV3_input_data/*grb .
cp @[INPUTDATA_ROOT]/FV3_input_data/*_table .
cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_mgtkers diag_table
#cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_mgtkers field_table
cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_csawmgshoc field_table
cp @[INPUTDATA_ROOT]/FV3_input_data/*configure .
cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc .
for n in 01 02 03 04 05 06 07 08 09 10 11 12; do
ln -sf merra2C.aerclim.2003-2014.m${n}.nc aeroclim.m${n}.nc
done
cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc
cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc
cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat
cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat
cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat
cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat
cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat
cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc
cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc
cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat
cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat
cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat
cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat
cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat
Loading