Skip to content

Commit

Permalink
merge main into issue-554 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfromearth committed Jul 9, 2024
2 parents 3a9afda + 2421fd6 commit eddc370
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
exist ([#562](https://github.com/nsidc/earthaccess/issues/562))
([**@itcarroll**](https://github.com/itcarroll),[**@mfisher87**](https://github.com/mfisher87),
[**@chuckwondo**](https://github.com/chuckwondo))
-Fix broken image link in sea level rise tutorial
(([#427](https://github.com/nsidc/earthaccess/issues/427))([**@jbrownrs**](https://github.com/jbrownrs))

## [0.9.0] - 2024-02-28

Expand Down
10 changes: 5 additions & 5 deletions docs/tutorials/SSL.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"\n",
"### This notebook is entirely based on Jinbo Wang's [tutorial](https://github.com/betolink/the-coding-club/blob/main/notebooks/Earthdata_webinar_20220727.ipynb)\n",
"\n",
"<img src=\"https://www.nasa.gov/sites/default/files/styles/full_width/public/thumbnails/image/sealevel_main-causes3-16.jpg?itok=XAqGqps1\" width=\"800px\" />\n",
"<img alt=\"Sea level rise infographic\" src=\"https://www.nasa.gov/wp-content/uploads/2020/08/sealevel_main-causes3-16.jpg\" width=\"800px\" />\n",
"\n",
"--- \n",
"\n",
Expand Down Expand Up @@ -157,11 +157,11 @@
" * not fully tested with Dask distributed\n",
"* Data is gridded\n",
" * xarray works better with homogeneous coordinates, working with swath data will be cumbersome.\n",
"* Data is chunked using reasonable large sizes(1MB or more)\n",
"* Data is chunked using reasonable large sizes (1MB or more)\n",
" * If our files are chunked in small pieces the access time will be orders of magnitude bigger than just downloading the data and accessing it locally.\n",
" \n",
"Opening a year of SSH (SEA_SURFACE_HEIGHT_ALT_GRIDS_L4_2SATS_5DAY_6THDEG_V_JPL1812) data (1.1 GB approx) can take up to 5 minutes streaming the data out of region(not in AWS)\n",
"The reason for this is not that the data transfer is order of magintude slower but due the client libraries not fetching data concurrently and the metadata of the files in HDF is usually not consolidated like in Zaar, hence h5netcdf has to issue a lot of requests to get the info it needs.\n",
"Opening a year of SSH (SEA_SURFACE_HEIGHT_ALT_GRIDS_L4_2SATS_5DAY_6THDEG_V_JPL1812) data (1.1 GB approx) can take up to 5 minutes streaming the data out of region (not in AWS)\n",
"The reason for this is not that the data transfer is order of magnitude slower but due the client libraries not fetching data concurrently and the metadata of the files in HDF is usually not consolidated like in Zaar, hence h5netcdf has to issue a lot of requests to get the info it needs.\n",
"\n",
"> Note: we are looping through each year and getting the metadata for the first granule in May"
]
Expand Down Expand Up @@ -195,7 +195,7 @@
"id": "8b63ca2f-c94c-4d4a-a620-a086ee66137f",
"metadata": {},
"source": [
"### What `earthaccess.open()` do?\n",
"### What does `earthaccess.open()` do?\n",
"\n",
"`earthaccess.open()` takes a list of results from `earthaccess.search_data()` or a list of URLs and creates a list of Python File-like objects that can be used in our code as if the remote files were local. When executed in AWS the file system used is [S3FS](https://github.com/fsspec/s3fs) when we open files outside of AWS we get a regular HTTPS file session. \n"
]
Expand Down

0 comments on commit eddc370

Please sign in to comment.