Skip to content

Commit

Permalink
Big change to input files for test cases. Removed all repeated copies…
Browse files Browse the repository at this point in the history
… of ozone_1990 and pointed references to it to the Isca/input/rrtm_input_files folder. Have also kept era-land mask file in Isca/input folder and pointed realistic continents case there.
  • Loading branch information
sit23 committed Oct 19, 2017
1 parent 0966926 commit 14803e7
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion exp/test_cases/MiMA/MiMA_test_case.py
Expand Up @@ -9,7 +9,7 @@

baseexp = Experiment('mima_test_experiment', overwrite_data=False)

baseexp.inputfiles = [os.path.join(base_dir,'input/ozone_1990.nc')]
baseexp.inputfiles = [os.path.join(GFDL_BASE,'input/rrtm_input_files/ozone_1990.nc')]

#Tell model how to write diagnostics
diag = DiagTable()
Expand Down
Binary file removed exp/test_cases/MiMA/input/ozone_1990.nc
Binary file not shown.
4 changes: 2 additions & 2 deletions exp/test_cases/bucket_hydrology/bucket_model_test_case.py
Expand Up @@ -7,10 +7,10 @@
base_dir=os.getcwd()
GFDL_BASE = os.environ['GFDL_BASE']

baseexp = Experiment('bucket_test_experiment', overwrite_data=False)
baseexp = Experiment('bucket_test_experiment_3', overwrite_data=False)

#Add any input files that are necessary for a particular experiment.
baseexp.inputfiles = [os.path.join(base_dir,'input/land.nc'),os.path.join(base_dir,'input/ozone_1990.nc')]
baseexp.inputfiles = [os.path.join(base_dir,'input/land.nc'),os.path.join(GFDL_BASE,'input/rrtm_input_files/ozone_1990.nc')]

#Tell model how to write diagnostics
diag = DiagTable()
Expand Down
Binary file removed exp/test_cases/bucket_hydrology/input/ozone_1990.nc
Binary file not shown.
Binary file not shown.
Expand Up @@ -10,7 +10,7 @@
baseexp = Experiment('realistic_continents_test_experiment', overwrite_data=False)

#Add any input files that are necessary for a particular experiment.
baseexp.inputfiles = [os.path.join(base_dir,'input/land.nc'),os.path.join(base_dir,'input/ozone_1990.nc'),
baseexp.inputfiles = [os.path.join(GFDL_BASE,'input/land_masks/era_land_t42.nc'),os.path.join(GFDL_BASE,'input/rrtm_input_files/ozone_1990.nc'),
os.path.join(base_dir,'input/sst_clim_amip.nc'), os.path.join(base_dir,'input/siconc_clim_amip.nc')]

#Tell model how to write diagnostics
Expand Down Expand Up @@ -56,9 +56,9 @@
baseexp.namelist['spectral_dynamics_nml']['surf_res'] = 0.2 #Parameter that sets the vertical distribution of sigma levels

baseexp.namelist['idealized_moist_phys_nml']['land_option'] = 'input' #Use land mask from input file
baseexp.namelist['idealized_moist_phys_nml']['land_file_name'] = 'INPUT/land.nc' #Tell model where to find input file
baseexp.namelist['idealized_moist_phys_nml']['land_file_name'] = 'INPUT/era_land_t42.nc' #Tell model where to find input file

baseexp.namelist['spectral_init_cond_nml']['topog_file_name'] = 'land.nc' #Name of land input file, which will also contain topography if generated using Isca's `land_file_generator_fn.py' routine.
baseexp.namelist['spectral_init_cond_nml']['topog_file_name'] = 'era_land_t42.nc' #Name of land input file, which will also contain topography if generated using Isca's `land_file_generator_fn.py' routine.
baseexp.namelist['spectral_init_cond_nml']['topography_option'] = 'input' #Tell model to get topography from input file
baseexp.namelist['spectral_dynamics_nml']['ocean_topog_smoothing'] = 0.8 #Use model's in-built spatial smoothing to smooth topography in order to prevent unwanted aliasing at low horizontal resolution

Expand Down
Expand Up @@ -9,7 +9,7 @@

baseexp = Experiment('realistic_continents_test_experiment', overwrite_data=False)

baseexp.inputfiles = [os.path.join(base_dir,'input/land.nc'),os.path.join(base_dir,'input/ozone_1990.nc'),
baseexp.inputfiles = [os.path.join(GFDL_BASE,'input/land_masks/era_land_t42.nc'),os.path.join(GFDL_BASE,'input/rrtm_input_files/ozone_1990.nc'),
os.path.join(base_dir,'input/ami_qflux_ctrl_ice_4320.nc'), os.path.join(base_dir,'input/siconc_clim_amip.nc')]

#Tell model how to write diagnostics
Expand Down Expand Up @@ -55,9 +55,9 @@
baseexp.namelist['spectral_dynamics_nml']['surf_res'] = 0.2 #Parameter that sets the vertical distribution of sigma levels

baseexp.namelist['idealized_moist_phys_nml']['land_option'] = 'input' #Use land mask from input file
baseexp.namelist['idealized_moist_phys_nml']['land_file_name'] = 'INPUT/land.nc' #Tell model where to find input file
baseexp.namelist['idealized_moist_phys_nml']['land_file_name'] = 'INPUT/era_land_t42.nc' #Tell model where to find input file

baseexp.namelist['spectral_init_cond_nml']['topog_file_name'] = 'land.nc' #Name of land input file, which will also contain topography if generated using Isca's `land_file_generator_fn.py' routine.
baseexp.namelist['spectral_init_cond_nml']['topog_file_name'] = 'era_land_t42.nc' #Name of land input file, which will also contain topography if generated using Isca's `land_file_generator_fn.py' routine.
baseexp.namelist['spectral_init_cond_nml']['topography_option'] = 'input' #Tell model to get topography from input file
baseexp.namelist['spectral_dynamics_nml']['ocean_topog_smoothing'] = 0.8 #Use model's in-built spatial smoothing to smooth topography in order to prevent unwanted aliasing at low horizontal resolution

Expand Down
Binary file not shown.
Expand Up @@ -9,7 +9,7 @@

baseexp = Experiment('variable_co2_rrtm', overwrite_data=False)

baseexp.inputfiles = [os.path.join(base_dir,'input/ozone_1990.nc'),os.path.join(base_dir,'input/co2.nc')]
baseexp.inputfiles = [os.path.join(GFDL_BASE,'input/rrtm_input_files/ozone_1990.nc'),os.path.join(base_dir,'input/co2.nc')]

#Tell model how to write diagnostics
diag = DiagTable()
Expand Down
Binary file removed input/amip_derived_climatologies/sst_clim_amip.nc
Binary file not shown.

0 comments on commit 14803e7

Please sign in to comment.