diff --git a/internal/test_unit/config/GridStatConfig_ugrid_gfs b/internal/test_unit/config/GridStatConfig_ugrid_gfs new file mode 100644 index 000000000..1664de4f1 --- /dev/null +++ b/internal/test_unit/config/GridStatConfig_ugrid_gfs @@ -0,0 +1,184 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Grid-Stat configuration file. +// +// For additional information, see the MET_BASE/config/README file. +// +//////////////////////////////////////////////////////////////////////////////// + +// +// Output model name to be written +// +// model = + +// +// Output description to be written +// May be set separately in each "obs.field" entry +// +// desc = + +// +// Output observation type to be written +// +// obtype = + +//////////////////////////////////////////////////////////////////////////////// + +// +// Verification grid +// +regrid = { + to_grid = "G004"; +} + +//////////////////////////////////////////////////////////////////////////////// + +//censor_thresh = +//censor_val = +//cat_thresh = +cnt_thresh = [ NA ]; +cnt_logic = UNION; +wind_thresh = [ NA ]; +wind_logic = UNION; +eclv_points = 0.05; +//nc_pairs_var_name = +nc_pairs_var_suffix = ""; +//hss_ec_value = + +rank_corr_flag = FALSE; + +// +// Forecast and observation fields to be verified +// +fcst = { + file_type = NETCDF_UGRID; + field = [ + { + name = "SST"; + level = "(0,*,*)"; + } + ]; +} + +obs = fcst; + +//////////////////////////////////////////////////////////////////////////////// + +// +// Climatology mean data +// +//climo_mean = { + + +//climo_stdev = { + +// +// May be set separately in each "obs.field" entry +// +//climo_cdf = { + +//////////////////////////////////////////////////////////////////////////////// + +// +// Verification masking regions +// +// mask = { + +//////////////////////////////////////////////////////////////////////////////// + +// +// Confidence interval settings +// +ci_alpha = [ 0.05 ]; + +boot = { + interval = PCTILE; + rep_prop = 1.0; + n_rep = 0; + rng = "mt19937"; + seed = ""; +} + +//////////////////////////////////////////////////////////////////////////////// + +// +// Data smoothing methods +// +//interp = { + +//////////////////////////////////////////////////////////////////////////////// + +// +// Neighborhood methods +// +nbrhd = { + field = BOTH; + vld_thresh = 1.0; +} + +//////////////////////////////////////////////////////////////////////////////// + +// +// Fourier decomposition +// May be set separately in each "obs.field" entry +// +//fourier = { + +//////////////////////////////////////////////////////////////////////////////// + +// +// Gradient statistics +// May be set separately in each "obs.field" entry +// +gradient = { + dx = [ 1 ]; + dy = [ 1 ]; +} + +//////////////////////////////////////////////////////////////////////////////// + +// +// Distance Map statistics +// May be set separately in each "obs.field" entry +// +//distance_map = { + + +//////////////////////////////////////////////////////////////////////////////// +// Threshold for SEEPS p1 (Probability of being dry) + +//seeps_p1_thresh = + +//////////////////////////////////////////////////////////////////////////////// + +// +// Statistical output types +// +output_flag = { + mpr = STAT; +} + +// +// NetCDF matched pairs output file +// May be set separately in each "obs.field" entry +// +// nc_pairs_flag = { + +//////////////////////////////////////////////////////////////////////////////// + +//ugrid_dataset = + +//ugrid_max_distance_km = + +//ugrid_coordinates_file = + +//////////////////////////////////////////////////////////////////////////////// + +//grid_weight_flag = + +tmp_dir = "/tmp"; + +output_prefix = "${OUTPUT_PREFIX}"; + +//////////////////////////////////////////////////////////////////////////////// + diff --git a/internal/test_unit/config/GridStatConfig_ugrid_gfs2polar b/internal/test_unit/config/GridStatConfig_ugrid_gfs2polar new file mode 100644 index 000000000..e4a4a9d9b --- /dev/null +++ b/internal/test_unit/config/GridStatConfig_ugrid_gfs2polar @@ -0,0 +1,192 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Grid-Stat configuration file. +// +// For additional information, see the MET_BASE/config/README file. +// +//////////////////////////////////////////////////////////////////////////////// + +// +// Output model name to be written +// +// model = + +// +// Output description to be written +// May be set separately in each "obs.field" entry +// +// desc = + +// +// Output observation type to be written +// +// obtype = + +//////////////////////////////////////////////////////////////////////////////// + +// +// Verification grid +// +regrid = { + to_grid = "${MET_TEST_INPUT}/model_data/tripolar/seaice_conc_daily_nh_1978_v04r00.nc"; +} + +//////////////////////////////////////////////////////////////////////////////// + +//censor_thresh = +//censor_val = +//cat_thresh = +cnt_thresh = [ NA ]; +cnt_logic = UNION; +wind_thresh = [ NA ]; +wind_logic = UNION; +eclv_points = 0.05; +//nc_pairs_var_name = +nc_pairs_var_suffix = ""; +//hss_ec_value = + +rank_corr_flag = FALSE; + +// +// Forecast and observation fields to be verified +// +fcst = { + file_type = NETCDF_UGRID; + field = [ + { + name = "SST"; + level = "(0,*,*)"; + } + ]; +} + +obs = { + file_type = NETCDF_NCCF; + field = [ + { + name = "cdr_seaice_conc"; + level = "(0,*,*)"; + } + ]; +} + +//////////////////////////////////////////////////////////////////////////////// + +// +// Climatology mean data +// +//climo_mean = { + + +//climo_stdev = { + +// +// May be set separately in each "obs.field" entry +// +//climo_cdf = { + +//////////////////////////////////////////////////////////////////////////////// + +// +// Verification masking regions +// +// mask = { + +//////////////////////////////////////////////////////////////////////////////// + +// +// Confidence interval settings +// +ci_alpha = [ 0.05 ]; + +boot = { + interval = PCTILE; + rep_prop = 1.0; + n_rep = 0; + rng = "mt19937"; + seed = ""; +} + +//////////////////////////////////////////////////////////////////////////////// + +// +// Data smoothing methods +// +//interp = { + +//////////////////////////////////////////////////////////////////////////////// + +// +// Neighborhood methods +// +nbrhd = { + field = BOTH; + vld_thresh = 1.0; +} + +//////////////////////////////////////////////////////////////////////////////// + +// +// Fourier decomposition +// May be set separately in each "obs.field" entry +// +//fourier = { + +//////////////////////////////////////////////////////////////////////////////// + +// +// Gradient statistics +// May be set separately in each "obs.field" entry +// +gradient = { + dx = [ 1 ]; + dy = [ 1 ]; +} + +//////////////////////////////////////////////////////////////////////////////// + +// +// Distance Map statistics +// May be set separately in each "obs.field" entry +// +//distance_map = { + + +//////////////////////////////////////////////////////////////////////////////// +// Threshold for SEEPS p1 (Probability of being dry) + +//seeps_p1_thresh = + +//////////////////////////////////////////////////////////////////////////////// + +// +// Statistical output types +// +output_flag = { + mpr = STAT; +} + +// +// NetCDF matched pairs output file +// May be set separately in each "obs.field" entry +// +// nc_pairs_flag = { + +//////////////////////////////////////////////////////////////////////////////// + +//ugrid_dataset = + +//ugrid_max_distance_km = + +//ugrid_coordinates_file = + +//////////////////////////////////////////////////////////////////////////////// + +//grid_weight_flag = + +tmp_dir = "/tmp"; + +output_prefix = "${OUTPUT_PREFIX}"; + +//////////////////////////////////////////////////////////////////////////////// + diff --git a/internal/test_unit/config/GridStatConfig_ugrid_rtofs b/internal/test_unit/config/GridStatConfig_ugrid_rtofs new file mode 100644 index 000000000..4a9e4aa03 --- /dev/null +++ b/internal/test_unit/config/GridStatConfig_ugrid_rtofs @@ -0,0 +1,192 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Grid-Stat configuration file. +// +// For additional information, see the MET_BASE/config/README file. +// +//////////////////////////////////////////////////////////////////////////////// + +// +// Output model name to be written +// +// model = + +// +// Output description to be written +// May be set separately in each "obs.field" entry +// +// desc = + +// +// Output observation type to be written +// +// obtype = + +//////////////////////////////////////////////////////////////////////////////// + +// +// Verification grid +// +regrid = { + to_grid = "G004"; +} + +//////////////////////////////////////////////////////////////////////////////// + +//censor_thresh = +//censor_val = +//cat_thresh = +cnt_thresh = [ NA ]; +cnt_logic = UNION; +wind_thresh = [ NA ]; +wind_logic = UNION; +eclv_points = 0.05; +//nc_pairs_var_name = +nc_pairs_var_suffix = ""; +//hss_ec_value = + +rank_corr_flag = FALSE; + +// +// Forecast and observation fields to be verified +// +fcst = { + file_type = NETCDF_UGRID; + field = [ + { + name = "ice_temperature"; + level = "(0,*,*)"; + } + ]; +} + +obs = { + file_type = NETCDF_UGRID; + field = [ + { + name = "ice_coverage"; + level = "(0,*,*)"; + } + ]; +} + +//////////////////////////////////////////////////////////////////////////////// + +// +// Climatology mean data +// +//climo_mean = { + + +//climo_stdev = { + +// +// May be set separately in each "obs.field" entry +// +//climo_cdf = { + +//////////////////////////////////////////////////////////////////////////////// + +// +// Verification masking regions +// +// mask = { + +//////////////////////////////////////////////////////////////////////////////// + +// +// Confidence interval settings +// +ci_alpha = [ 0.05 ]; + +boot = { + interval = PCTILE; + rep_prop = 1.0; + n_rep = 0; + rng = "mt19937"; + seed = ""; +} + +//////////////////////////////////////////////////////////////////////////////// + +// +// Data smoothing methods +// +//interp = { + +//////////////////////////////////////////////////////////////////////////////// + +// +// Neighborhood methods +// +nbrhd = { + field = BOTH; + vld_thresh = 1.0; +} + +//////////////////////////////////////////////////////////////////////////////// + +// +// Fourier decomposition +// May be set separately in each "obs.field" entry +// +//fourier = { + +//////////////////////////////////////////////////////////////////////////////// + +// +// Gradient statistics +// May be set separately in each "obs.field" entry +// +gradient = { + dx = [ 1 ]; + dy = [ 1 ]; +} + +//////////////////////////////////////////////////////////////////////////////// + +// +// Distance Map statistics +// May be set separately in each "obs.field" entry +// +//distance_map = { + + +//////////////////////////////////////////////////////////////////////////////// +// Threshold for SEEPS p1 (Probability of being dry) + +//seeps_p1_thresh = + +//////////////////////////////////////////////////////////////////////////////// + +// +// Statistical output types +// +output_flag = { + mpr = STAT; +} + +// +// NetCDF matched pairs output file +// May be set separately in each "obs.field" entry +// +// nc_pairs_flag = { + +//////////////////////////////////////////////////////////////////////////////// + +//ugrid_dataset = + +//ugrid_max_distance_km = + +//ugrid_coordinates_file = + +//////////////////////////////////////////////////////////////////////////////// + +//grid_weight_flag = + +tmp_dir = "/tmp"; + +output_prefix = "${OUTPUT_PREFIX}"; + +//////////////////////////////////////////////////////////////////////////////// + diff --git a/internal/test_unit/config/GridStatConfig_ugrid_rtofs2polar b/internal/test_unit/config/GridStatConfig_ugrid_rtofs2polar new file mode 100644 index 000000000..f1e827d7e --- /dev/null +++ b/internal/test_unit/config/GridStatConfig_ugrid_rtofs2polar @@ -0,0 +1,191 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Grid-Stat configuration file. +// +// For additional information, see the MET_BASE/config/README file. +// +//////////////////////////////////////////////////////////////////////////////// + +// +// Output model name to be written +// +// model = + +// +// Output description to be written +// May be set separately in each "obs.field" entry +// +// desc = + +// +// Output observation type to be written +// +// obtype = + +//////////////////////////////////////////////////////////////////////////////// + +// +// Verification grid +// +regrid = { + to_grid = "${MET_TEST_INPUT}/model_data/tripolar/seaice_conc_daily_nh_1978_v04r00.nc"; +} + +//////////////////////////////////////////////////////////////////////////////// + +//censor_thresh = +//censor_val = +//cat_thresh = +cnt_thresh = [ NA ]; +cnt_logic = UNION; +wind_thresh = [ NA ]; +wind_logic = UNION; +eclv_points = 0.05; +//nc_pairs_var_name = +nc_pairs_var_suffix = ""; +//hss_ec_value = + +rank_corr_flag = FALSE; + +// +// Forecast and observation fields to be verified +// +fcst = { + file_type = NETCDF_UGRID; + field = [ + { + name = "ice_temperature"; + level = "(0,*,*)"; + } + ]; +} + +obs = { + file_type = NETCDF_NCCF; + field = [ + { + name = "cdr_seaice_conc"; + level = "(0,*,*)"; + } + ]; +} +//////////////////////////////////////////////////////////////////////////////// + +// +// Climatology mean data +// +//climo_mean = { + + +//climo_stdev = { + +// +// May be set separately in each "obs.field" entry +// +//climo_cdf = { + +//////////////////////////////////////////////////////////////////////////////// + +// +// Verification masking regions +// +// mask = { + +//////////////////////////////////////////////////////////////////////////////// + +// +// Confidence interval settings +// +ci_alpha = [ 0.05 ]; + +boot = { + interval = PCTILE; + rep_prop = 1.0; + n_rep = 0; + rng = "mt19937"; + seed = ""; +} + +//////////////////////////////////////////////////////////////////////////////// + +// +// Data smoothing methods +// +//interp = { + +//////////////////////////////////////////////////////////////////////////////// + +// +// Neighborhood methods +// +nbrhd = { + field = BOTH; + vld_thresh = 1.0; +} + +//////////////////////////////////////////////////////////////////////////////// + +// +// Fourier decomposition +// May be set separately in each "obs.field" entry +// +//fourier = { + +//////////////////////////////////////////////////////////////////////////////// + +// +// Gradient statistics +// May be set separately in each "obs.field" entry +// +gradient = { + dx = [ 1 ]; + dy = [ 1 ]; +} + +//////////////////////////////////////////////////////////////////////////////// + +// +// Distance Map statistics +// May be set separately in each "obs.field" entry +// +//distance_map = { + + +//////////////////////////////////////////////////////////////////////////////// +// Threshold for SEEPS p1 (Probability of being dry) + +//seeps_p1_thresh = + +//////////////////////////////////////////////////////////////////////////////// + +// +// Statistical output types +// +output_flag = { + mpr = STAT; +} + +// +// NetCDF matched pairs output file +// May be set separately in each "obs.field" entry +// +// nc_pairs_flag = { + +//////////////////////////////////////////////////////////////////////////////// + +//ugrid_dataset = + +//ugrid_max_distance_km = + +//ugrid_coordinates_file = + +//////////////////////////////////////////////////////////////////////////////// + +//grid_weight_flag = + +tmp_dir = "/tmp"; + +output_prefix = "${OUTPUT_PREFIX}"; + +//////////////////////////////////////////////////////////////////////////////// + diff --git a/internal/test_unit/config/UGridConfig_CICE b/internal/test_unit/config/UGridConfig_CICE new file mode 100644 index 000000000..0aaea493b --- /dev/null +++ b/internal/test_unit/config/UGridConfig_CICE @@ -0,0 +1,27 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Unstructured grid configuration file. +// +// UGridConfig_mpas at the current working directory replaces the settings here. +// For additional or updated information, please see the MET User's Guide. +// +//////////////////////////////////////////////////////////////////////////////// + +// +// Dimensions and variables mapping for CICE dataset +// +ugrid_metadata_map = [ + { key = "dim_face"; val = "ni,nj"; }, + { key = "dim_time"; val = "time"; }, + { key = "dim_vert"; val = ""; }, // optional + { key = "lat_face"; val = "ULAT"; }, + { key = "lon_face"; val = "ULON"; }, + { key = "vert_face"; val = ""; }, // optional + { key = "time"; val = "time"; } +]; + +//////////////////////////////////////////////////////////////////////////////// + +version = "V12.0.0"; + +//////////////////////////////////////////////////////////////////////////////// diff --git a/internal/test_unit/config/UGridConfig_GFS b/internal/test_unit/config/UGridConfig_GFS new file mode 100644 index 000000000..c9ccf0ffc --- /dev/null +++ b/internal/test_unit/config/UGridConfig_GFS @@ -0,0 +1,27 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Unstructured grid configuration file. +// +// UGridConfig_mpas at the current working directory replaces the settings here. +// For additional or updated information, please see the MET User's Guide. +// +//////////////////////////////////////////////////////////////////////////////// + +// +// Dimensions and variables mapping for GFS dataset +// +ugrid_metadata_map = [ + { key = "dim_face"; val = "xh,yh"; }, + { key = "dim_time"; val = "time"; }, + { key = "dim_vert"; val = ""; }, // optional + { key = "lat_face"; val = "geolat"; }, + { key = "lon_face"; val = "geolon"; }, + { key = "vert_face"; val = ""; }, // optional + { key = "time"; val = "time"; } +]; + +//////////////////////////////////////////////////////////////////////////////// + +version = "V12.0.0"; + +//////////////////////////////////////////////////////////////////////////////// diff --git a/internal/test_unit/config/UGridConfig_RTOFS b/internal/test_unit/config/UGridConfig_RTOFS new file mode 100644 index 000000000..1e98bec41 --- /dev/null +++ b/internal/test_unit/config/UGridConfig_RTOFS @@ -0,0 +1,27 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Unstructured grid configuration file. +// +// UGridConfig_mpas at the current working directory replaces the settings here. +// For additional or updated information, please see the MET User's Guide. +// +//////////////////////////////////////////////////////////////////////////////// + +// +// Dimensions and variables mapping for RTOFS dataset +// +ugrid_metadata_map = [ + { key = "dim_face"; val = "X,Y"; }, + { key = "dim_time"; val = "MT"; }, + { key = "dim_vert"; val = ""; }, // optional + { key = "lat_face"; val = "Latitude"; }, + { key = "lon_face"; val = "Longitude"; }, + { key = "vert_face"; val = ""; }, // optional + { key = "time"; val = "MT"; } +]; + +//////////////////////////////////////////////////////////////////////////////// + +version = "V12.0.0"; + +////////////////////////////////////////////////////////////////////////////////