-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[pydap backend] enables downloading/processing multiple arrays within single http request #10629
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
Open
Mikejmnez
wants to merge
38
commits into
pydata:main
Choose a base branch
from
Mikejmnez:pydap4_scale
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
0e345a6
update PydapArrayWrapper to support backend batching
Mikejmnez 4dbcd62
update PydapDataStore to use backend logic in dap4 to batch variables…
Mikejmnez 007dac2
pydap-server it not necessary
Mikejmnez 76faff6
set `batch=False` as default
Mikejmnez 16a9341
set `batch=False` as default in datatree
Mikejmnez 6f8afb0
set `batch=False` as default in open groups as dict
Mikejmnez 70f500f
for flaky, install pydap from repo for now
Mikejmnez 1ac0ab4
initial tests - quantify cached url
Mikejmnez 3a79592
adds tests to datatree backend to assert multiple dimensions download…
Mikejmnez a8fe8fe
update testing to show number of download urls
Mikejmnez 1f65ef6
simplified logic
Mikejmnez 0d22358
specify cached session debug name to actually cache urls
Mikejmnez 3205515
fix for mypy
Mikejmnez cb33c28
user visible changes on `whats-new.rst`
Mikejmnez f85a0b9
impose sorted to `get_dimensions` method
Mikejmnez 263592d
reformat `whats-new.rst`
Mikejmnez 9e5c785
revert to install pydap from conda and not from repo
Mikejmnez 73aa5a1
expose checksum as user kwarg
Mikejmnez f59b57d
include `checksums` optional argument in `whats-new`
Mikejmnez 6c354ca
update to newest release of pydap via pip until conda install is avai…
Mikejmnez eb3fca5
use requests_cache session with retry-params when 500 errors occur
Mikejmnez 16394aa
update env yml file to use new pydap release via conda
Mikejmnez 1b76e98
let `pydap` handle exceptions/warning
Mikejmnez 2ca8a4d
process dims at once, one per group
Mikejmnez 652e5d6
debug
Mikejmnez 8406494
revert what`s new from previous commit
Mikejmnez a5c6ba2
enable data checker for batched deserialized data
Mikejmnez a111b0c
temporarily install from source for testing - will revert to conda in…
Mikejmnez fd84f63
update `whats new`
Mikejmnez 5da338c
update tests
Mikejmnez 0c55e52
set `batch=None` as default
Mikejmnez 36ea456
improve handling of dims vs dimensions deprecation warning
Mikejmnez 863ea6d
update to use latest version of pydap
Mikejmnez fc72d32
update import
Mikejmnez 049ff2e
update `whats new docs
Mikejmnez 4f5a715
move cache session to `tmpdir`
Mikejmnez 47b7e73
remove added functionality from whats new from newly released version
Mikejmnez 4b516b4
add to `whats-new` for next release
Mikejmnez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To potentially address the issues with dimensions in Datatree, and the
lat/lon
dimensions being inconsistently ordered, I added thissorted
to the dimensions list that the backend gets from the Pydap dataset directly. Hopefully this little fix will make it go away, but I will continue checking this issue locally and after merging main into this PR (it has not failed once yet! knocks on wood)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is only dataset level dimensions, not variable level dimensions.
At the dataset level, dimension order doesn't really matter, so I doubt this is going to fix the issue, unfortunately.