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

Preload data method added #2

Merged
merged 4 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,5 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

examples/preload_cache/
3 changes: 3 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ channels:
dependencies:
# Required
- python>=3.10
- IPython
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note, don't include this in the conda recipe. It should be an optional dependency.

- numpy
- requests
- tabulate
- xarray
- xcube >= 1.7.0
# for testing
Expand Down
2 changes: 1 addition & 1 deletion examples/zenodo_data_store.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
],
"source": [
"%%time\n",
"access_token = \"ZsZVfyPCmLYRZQtfSYWruNwXYBykonv0pXZYnrQYNNL0gGMJipYsx0CYvOSB\"\n",
"access_token = \"fill in you Zenodo access token here\"\n",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"access_token = \"fill in you Zenodo access token here\"\n",
"access_token = \"fill in your Zenodo access token here\"\n",

"store = new_data_store(\"zenodo\", access_token=access_token)"
]
},
Expand Down
Loading
Loading