Comments (7)
Hello @Siyuanhou - thanks for reaching out. The capability_url
you cited is for cloud data access (only). Are you on the early access list with NSIDC for beta test access to ICESat-2 data in the cloud? If not, you will not be able to create the proper credentials to access ICESat-2 data in the cloud (and you would likely not be downloading the data in a cloud-access scenario).
If you continue to have issues, please post the icepyx code that you are using that's returning the error along with the error traceback and icepyx version.
from icepyx.
Haven't tested this, but it seems as though NSIDC has opened up cloud access to everyone as of 29 Sep 2022? See https://nsidc.org/data/user-resources/data-announcements/data-set-updates-new-earthdata-cloud-access-option-icesat-2-and-icesat-data-sets. What ICESat-2 data product are you trying to access @Siyuanhou? ATL03, ATL06, or some other one? Ideally you would need to be running on the same AWS server (us-west2 I'm assuming) to make full use of this though.
from icepyx.
from icepyx.
from icepyx.
The cloud data access is still quite new, but try following the instructions at https://nsidc.org/data/user-resources/help-center/nasa-earthdata-cloud-data-access-guide. I just tried it on https://hub.aws-uswest2-binder.pangeo.io/hub/login and it seems to work, though the setup is a bit complicated for now. Basic steps seems to be:
- Get credentials from https://data.nsidc.earthdatacloud.nasa.gov/s3credentials, and input these lines into the terminal
export AWS_ACCESS_KEY_ID=<your_accessKeyId>
export AWS_SECRET_ACCESS_KEY=<your_secretAccessKey>
export AWS_SESSION_TOKEN=<you_sessionToken>
- Install some AWS command line interface tool, e.g.
pip install awscli
- Run some test command to list the files like:
aws s3 ls s3://nsidc-cumulus-prod-protected/ATLAS/ATL03/005/2018/10/14/
which should produce an output like:
2021-11-14 21:26:51 419002911 ATL03_20181014000347_02350101_005_01.h5
2021-11-14 21:26:59 3192825 ATL03_20181014000347_02350101_005_01.h5.dmrpp
2021-11-14 21:13:19 1850440524 ATL03_20181014001049_02350102_005_01.h5
2021-11-14 21:13:38 12453743 ATL03_20181014001049_02350102_005_01.h5.dmrpp
2021-11-15 07:56:20 1775356258 ATL03_20181014001920_02350103_005_01.h5
2021-11-15 07:56:40 12186366 ATL03_20181014001920_02350103_005_01.h5.dmrpp
2021-11-15 18:14:22 1039203722 ATL03_20181014002445_02350104_005_01.h5
2021-11-15 18:14:39 8055791 ATL03_20181014002445_02350104_005_01.h5.dmrpp
2021-11-16 08:06:43 308164510 ATL03_20181014002954_02350105_005_01.h5
...
If you can get this far, then great! That means you have access to ICESat-2 data in the cloud. As for how to use icepyx
to read these cloud data, we'll probably need to update the notebook at https://icepyx.readthedocs.io/en/latest/example_notebooks/IS2_cloud_data_access.html to make it clearer how this can actually be used in a more user-friendly way.
from icepyx.
from icepyx.
As for how to use icepyx to read these cloud data, we'll probably need to update the notebook at https://icepyx.readthedocs.io/en/latest/example_notebooks/IS2_cloud_data_access.html to make it clearer how this can actually be used in a more user-friendly way.
This is on my to-do list now that NSIDC has publicly released the data. I suspect @Siyuanhou may have identified the issue with:
the web of AWS S3 is invalid
It's possible that with the public release they updated the s3 urls required to access the data on the cloud, and because they weren't public (i.e. included in metadata from CMR) before, icepyx was constructing them manually.
from icepyx.
Related Issues (20)
- add some projection handling and checks
- debug tests behind EDL - failing builds for PRs to main HOT 1
- do not run uml updates on PRs into main
- Make Variables an independent class HOT 1
- Unable to call Argo scripts with Quest query object HOT 2
- calls to OpenAltimetry API time out HOT 1
- Intermittent Error on order_granules
- ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it HOT 2
- ValueError: cannot reindex or align along dimension 'delta_time' because of conflicting dimension sizes: {1112, 1098} HOT 2
- icepyx required variables
- only add requested beams for required variables
- improve QUEST documentation HOT 2
- figure out where the codecov reports went HOT 2
- become PEP8 compliant
- NSIDC request url generation currently includes duplicate keywords HOT 4
- Allow generating variables wanted from a list of h5 paths HOT 4
- Typo in `pip install -e` instructions on contributing page HOT 5
- remove metadata fix after next version up
- Add Examples Directory HOT 1
- Unable to download 5000005497555 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icepyx.