Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Jul 12, 2023
1 parent e74078a commit 7bd8f83
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions notebooks/wp5/satellite_outgoing_radiation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,6 @@
" \"origin\": \"nasa_ceres_ebaf\",\n",
" \"variable\": f\"outgoing_{variable}_radiation\",\n",
" },\n",
" \"HIRS\": {\n",
" \"start\": \"1979-01\",\n",
" \"stop\": \"2023-03\",\n",
" \"format\": \"zip\",\n",
" \"origin\": \"noaa_ncei_hirs\",\n",
" \"variable\": f\"outgoing_{variable}_radiation\",\n",
" },\n",
" \"Sentinel 3A\": {\n",
" \"start\": \"2017-01\",\n",
" \"stop\": \"2021-12\",\n",
Expand Down Expand Up @@ -135,6 +128,13 @@
" \"sensor\": \"atsr2\",\n",
" \"variable\": \"all_available_variables\",\n",
" },\n",
" \"HIRS\": {\n",
" \"start\": \"1979-01\",\n",
" \"stop\": \"2023-03\",\n",
" \"format\": \"zip\",\n",
" \"origin\": \"noaa_ncei_hirs\",\n",
" \"variable\": f\"outgoing_{variable}_radiation\",\n",
" },\n",
"}"
]
},
Expand Down Expand Up @@ -213,6 +213,7 @@
" transform_func=time_weighted_mean,\n",
" chunks=chunks,\n",
" transform_chunks=False,\n",
" drop_variables=\"time_bounds\",\n",
" )\n",
" (varname,) = set(ds.data_vars) & varnames\n",
" da = ds[varname]\n",
Expand All @@ -227,6 +228,7 @@
" transform_func=spatial_weighted_mean,\n",
" transform_func_kwargs=slices,\n",
" chunks=chunks,\n",
" drop_variables=\"time_bounds\",\n",
" )\n",
" dataarrays.append(ds[varname].expand_dims(region=[region]))\n",
" da = xr.concat(dataarrays, \"region\")\n",
Expand Down

0 comments on commit 7bd8f83

Please sign in to comment.