Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add earthdata tutorials to toc and remove warning #83

Merged
merged 3 commits into from
Dec 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions book/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ parts:
- file: tutorials/IS2_ATL15_surface_height_anomalies/IS2_ATL15_surface_height_anomalies
- file: external/ICESAT2_ATL10-h5coro_large_scale_time_series
- file: tutorials/ARCOdata_writingZarrs
sections:
- file: tutorials/NASA-Earthdata-Cloud-Access/1.Intro-Earthdata-Cloud
- file: tutorials/NASA-Earthdata-Cloud-Access/2.earthdata_search
- file: tutorials/NASA-Earthdata-Cloud-Access/3.earthaccess
- file: tutorials/NASA-Earthdata-Cloud-Access/4.icepyx
- file: tutorials/GrIMP/GrIMP_tutorial_AGU23
- file: tutorials/SlideRule_applications/SlideRule_applications
- caption: Contributing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,7 @@
"source": [
"import json\n",
"import math\n",
"import warnings\n",
"\n",
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
Expand Down Expand Up @@ -1414,16 +1415,6 @@
"tags": []
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/srv/conda/envs/notebook/lib/python3.10/site-packages/icepyx/core/read.py:520: UserWarning: rename 'delta_time' to 'photon_idx' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate.\n",
" .rename({\"delta_time\": \"photon_idx\"})\n",
"/srv/conda/envs/notebook/lib/python3.10/site-packages/icepyx/core/read.py:520: UserWarning: rename 'delta_time' to 'photon_idx' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate.\n",
" .rename({\"delta_time\": \"photon_idx\"})\n"
]
},
{
"data": {
"text/html": [
Expand Down Expand Up @@ -2050,7 +2041,10 @@
}
],
"source": [
"ds = reader.load()\n",
"# turn off warnings for load to not show an xarray warning that was resolved in the coming release of icepyx v1.0.0\n",
"with warnings.catch_warnings(record=True): \n",
" ds = reader.load()\n",
"\n",
"ds"
]
},
Expand Down Expand Up @@ -2184,20 +2178,6 @@
"id": "47fc67bb-5eba-4481-8dae-bc7248d09c91",
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/srv/conda/envs/notebook/lib/python3.10/site-packages/icepyx/core/read.py:520: UserWarning: rename 'delta_time' to 'photon_idx' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate.\n",
" .rename({\"delta_time\": \"photon_idx\"})\n",
"/srv/conda/envs/notebook/lib/python3.10/site-packages/icepyx/core/read.py:520: UserWarning: rename 'delta_time' to 'photon_idx' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate.\n",
" .rename({\"delta_time\": \"photon_idx\"})\n",
"/srv/conda/envs/notebook/lib/python3.10/site-packages/icepyx/core/read.py:520: UserWarning: rename 'delta_time' to 'photon_idx' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate.\n",
" .rename({\"delta_time\": \"photon_idx\"})\n",
"/srv/conda/envs/notebook/lib/python3.10/site-packages/icepyx/core/read.py:520: UserWarning: rename 'delta_time' to 'photon_idx' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate.\n",
" .rename({\"delta_time\": \"photon_idx\"})\n"
]
},
{
"data": {
"text/html": [
Expand Down Expand Up @@ -2642,8 +2622,11 @@
}
],
"source": [
"# load the dataset\n",
"ds_photons = reader.load()\n",
"# turn off warnings for load to not show an xarray warning that was resolved in the coming release of icepyx v1.0.0\n",
"with warnings.catch_warnings(record=True):\n",
" # load the dataset\n",
" ds_photons = reader.load()\n",
" \n",
"ds_photons"
]
},
Expand Down Expand Up @@ -2774,16 +2757,6 @@
"id": "25272b20-5b03-4213-af06-1d73799fab70",
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/srv/conda/envs/notebook/lib/python3.10/site-packages/icepyx/core/read.py:520: UserWarning: rename 'delta_time' to 'photon_idx' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate.\n",
" .rename({\"delta_time\": \"photon_idx\"})\n",
"/srv/conda/envs/notebook/lib/python3.10/site-packages/icepyx/core/read.py:520: UserWarning: rename 'delta_time' to 'photon_idx' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate.\n",
" .rename({\"delta_time\": \"photon_idx\"})\n"
]
},
{
"data": {
"text/html": [
Expand Down Expand Up @@ -3405,8 +3378,11 @@
}
],
"source": [
"# load the data\n",
"ds_te = reader.load()\n",
"# turn off warnings for load to not show an xarray warning that was resolved in the coming release of icepyx v1.0.0\n",
"with warnings.catch_warnings(record=True):\n",
" # load the data\n",
" ds_te = reader.load()\n",
" \n",
"ds_te"
]
},
Expand Down
Loading