You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing a model vs obs run when I tried to specify the start and end year for reference data, I ran into AttributeError for all parameter objects, example: AttributeError: 'CoreParameter' object has no attribute 'test_start_yr'
The same script works okay for main branch.
What did you expect to happen? Are there are possible answers you came across?
No response
Minimal Complete Verifiable Example (MVCE)
importosfrome3sm_diags.parameter.core_parameterimportCoreParameterfrome3sm_diags.runimportrunnerparam=CoreParameter()
param.reference_data_path='/global/cfs/cdirs/e3sm/diagnostics/observations/Atm/time-series'param.test_data_path='/global/cfs/cdirs/e3sm/chengzhu/eamxx/post/data/rgr'param.test_name='eamxx_decadal'param.seasons= ["ANN"]
#param.save_netcdf = Trueparam.ref_timeseries_input=True# Years to slice the ref data, base this off the years in the filenames.param.ref_start_yr="1996"param.ref_end_yr="1996"prefix='/global/cfs/cdirs/e3sm/www/zhang40/tests/eamxx'param.results_dir=os.path.join(prefix, 'eamxx_decadal_1996_1024_edv2')
runner.sets_to_run= ["lat_lon",
"zonal_mean_xy",
"zonal_mean_2d",
"zonal_mean_2d_stratosphere",
"polar",
"cosp_histogram",
"meridional_mean_2d",
"annual_cycle_zonal_mean",]
runner.run_diags([param])
What happened?
When testing a model vs obs run when I tried to specify the start and end year for reference data, I ran into AttributeError for all parameter objects, example: AttributeError: 'CoreParameter' object has no attribute 'test_start_yr'
The same script works okay for
main
branch.What did you expect to happen? Are there are possible answers you came across?
No response
Minimal Complete Verifiable Example (MVCE)
Relevant log output
Anything else we need to know?
No response
Environment
The latest cdat-migration-fy24 branch.
The text was updated successfully, but these errors were encountered: