Skip to content

Commit

Permalink
update error nb
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht committed Nov 29, 2023
1 parent 79dd8ca commit 280f70a
Showing 1 changed file with 62 additions and 16 deletions.
78 changes: 62 additions & 16 deletions notebooks/errors/cds-error-2023-11-28-subset-cmip6.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 2,
"id": "ec534e27-d66a-4086-a373-cc2ed1caf1d9",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"True"
"False"
]
},
"execution_count": 7,
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -82,17 +82,17 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 3,
"id": "c8e64c0e-6917-4fc3-b76e-d5661d9537cf",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'ProcessSucceeded'"
"'Process error: The defined _FillValue and missing_value for tas are not the same 1.0000000200408773e 20 != 1e 20 .'"
]
},
"execution_count": 8,
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -101,34 +101,80 @@
"resp.status"
]
},
{
"cell_type": "markdown",
"id": "e25ba50d-dc66-4d25-a7dd-6babc5a50e40",
"metadata": {},
"source": [
"## download urls for testing\n",
"\n",
"for `c3s-cmip6.CMIP.NCAR.CESM2-WACCM.historical.r1i1p1f1.day.tas.gn.v20190227`"
]
},
{
"cell_type": "code",
"execution_count": 11,
"id": "b2acbc3d-561a-4784-b09e-9c9a97bc76a2",
"execution_count": 4,
"id": "2ae7ec3d-2c6f-4c8a-afe2-876bf5bf5e0b",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"['http://rook4.cloud.dkrz.de:80/outputs/rook/ebe92884-8dff-11ee-b4ef-fa163ed6c06f/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_20000101-20001231.nc']"
"True"
]
},
"execution_count": 11,
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"resp.download_urls()"
"wf = ops.Subset(\n",
" ops.Input(\n",
" 'tas', ['c3s-cmip6.CMIP.NCAR.CESM2-WACCM.historical.r1i1p1f1.day.tas.gn.v20190227']\n",
" ),\n",
" # time=\"2000/2000\"\n",
")\n",
"resp = wf.orchestrate()\n",
"resp.ok"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "2ae7ec3d-2c6f-4c8a-afe2-876bf5bf5e0b",
"execution_count": 5,
"id": "cfdea319-c57e-43de-bb13-e35c81613573",
"metadata": {},
"outputs": [],
"source": []
"outputs": [
{
"data": {
"text/plain": [
"['https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_18500101-18591231.nc',\n",
" 'https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_18600101-18691231.nc',\n",
" 'https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_18700101-18791231.nc',\n",
" 'https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_18800101-18891231.nc',\n",
" 'https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_18900101-18991231.nc',\n",
" 'https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_19000101-19091231.nc',\n",
" 'https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_19100101-19191231.nc',\n",
" 'https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_19200101-19291231.nc',\n",
" 'https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_19300101-19391231.nc',\n",
" 'https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_19400101-19491231.nc',\n",
" 'https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_19500101-19591231.nc',\n",
" 'https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_19600101-19691231.nc',\n",
" 'https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_19700101-19791231.nc',\n",
" 'https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_19800101-19891231.nc',\n",
" 'https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_19900101-19991231.nc',\n",
" 'https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_20000101-20091231.nc',\n",
" 'https://data.mips.copernicus-climate.eu/thredds/fileServer/esg_c3s-cmip6/CMIP/NCAR/CESM2-WACCM/historical/r1i1p1f1/day/tas/gn/v20190227/tas_day_CESM2-WACCM_historical_r1i1p1f1_gn_20100101-20150101.nc']"
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"resp.download_urls()"
]
}
],
"metadata": {
Expand All @@ -147,7 +193,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.0"
"version": "3.11.3"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 280f70a

Please sign in to comment.