-
Notifications
You must be signed in to change notification settings - Fork 30
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
Griddap params #32
Comments
Thanks for the report @flackdl! We never really tested For now all I can say is that |
Ok, thanks for the clarification. It looks like pydap doesn't seem to have a way to programmatically build griddap queries either. I guess griddap and tabledap are opendap extensions so maybe it's not so odd. |
Hi, I just wanted to find out more about the difference between From my understanding of the documentation so far, I believe that while Would we need to add a new |
we would also have to specify the user in what dimensions he must enter the values |
@kstonekuan and @avishmehta68710 I'll add more info soon, been under the weather lately, but look for inspiration in the R erddap package. |
I was stuck on this too — I was under the impression the package worked for griddap since you can input it under protocol. But, the following works for me as a workaround. It essentially just finds the base link to connect to the dataset over opendap and then uses xarray to do the subsetting. This should not be reading in all the available data since it is read in lazily, so I would think it isn't too bad to do it this way.
|
That is b/c the we have "some" griddap support. We allow full URLs but not slices at the moment.
You won't get ERDDAP's server side slicing but to be honest I'm not sure how much better that is when compared to lazy loading. It is ultimately a trade-off between knowing the coords before hand and send your slice request to the server or downloading the coords and then slicing lazily. |
Ok that makes sense. Thank you! |
This was implemented during GSoC. |
@ocefpaf cool! Can I look somewhere for more information? |
|
Hey there,
I'm hoping to use your nifty package but am running into an issue. You should note I don't have a climate science background.
When I run the following I receive an error, which, it seems like the generated URL doesn't conform to the griddap documentation but instead to tabledap.
Outputs:
If I use the Data Access Form and only add the time constraint, it generates a url like:
http://oos.soest.hawaii.edu/erddap/griddap/NCEP_Global_Best.csv?time[(2018-02-01):1:(2018-02-13T12:00:00Z)] which works.
If you browse to the malformed URL it warns about "graphical" params.
I must be doing something wrong but I can't identify what it is. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: