Skip to content

Commit

Permalink
Merge pull request #169 from dabail10/seaice
Browse files Browse the repository at this point in the history
Add changes to seaice notebooks for new variables grid_file and path_nsidc.
  • Loading branch information
mnlevy1981 authored Jan 28, 2025
2 parents 18c0e37 + 59f32ab commit 665084c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions examples/coupled_model/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,13 @@ compute_notebooks:
parameter_groups:
none:
climo_nyears: 35
grid_file: '/glade/campaign/cesm/community/omwg/grids/tx2_3v2_grid.nc'
path_nsidc: '/glade/campaign/cesm/development/cross-wg/diagnostic_framework/CUPiD_obs_data/ice/analysis_datasets/hemispheric_data/NSIDC_SeaIce_extent'
Hemis_seaice_visual_compare_contour:
parameter_groups:
none:
climo_nyears: 35
grid_file: '/glade/campaign/cesm/community/omwg/grids/tx2_3v2_grid.nc'


########### JUPYTER BOOK CONFIG ###########
Expand Down
3 changes: 2 additions & 1 deletion nblibrary/ice/Hemis_seaice_visual_compare_contour.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"base_end_date = \"0100-01-01\"\n",
"\n",
"climo_nyears = 35\n",
"grid_file = \"/glade/campaign/cesm/community/omwg/grids/tx2_3v2_grid.nc\"\n",
"\n",
"lc_kwargs = {}\n",
"\n",
Expand Down Expand Up @@ -161,7 +162,7 @@
" coords=\"minimal\",\n",
").sel(time=slice(base_start_date, base_end_date))\n",
"\n",
"ds_grid = xr.open_dataset(\"/glade/campaign/cesm/community/omwg/grids/tx2_3v2_grid.nc\")\n",
"ds_grid = xr.open_dataset(grid_file)\n",
"TLAT = ds_grid[\"TLAT\"]\n",
"TLON = ds_grid[\"TLONG\"]\n",
"tarea = ds_grid[\"TAREA\"] * 1.0e-4\n",
Expand Down
7 changes: 3 additions & 4 deletions nblibrary/ice/Hemis_seaice_visual_compare_obs_lens.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,12 @@
"base_end_date = \"0101-01-01\"\n",
"\n",
"climo_nyears = 35\n",
"grid_file = \"/glade/campaign/cesm/community/omwg/grids/tx2_3v2_grid.nc\"\n",
"path_nsidc = \"/glade/campaign/cesm/development/cross-wg/diagnostic_framework/CUPiD_obs_data/ice/analysis_datasets/hemispheric_data/NSIDC_SeaIce_extent\"\n",
"\n",
"lc_kwargs = {}\n",
"\n",
"hist = 0\n",
"\n",
"path_nsidc = \"/glade/campaign/cesm/development/pcwg/ice/data/NSIDC_SeaIce_extent\"\n",
"grid_file = \"/glade/campaign/cesm/community/omwg/grids/tx2_3v2_grid.nc\""
"hist = 0"
]
},
{
Expand Down

0 comments on commit 665084c

Please sign in to comment.