-
Notifications
You must be signed in to change notification settings - Fork 2
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
Geospatial queries of datasets #55
Comments
Hello mullenkamp, I am interested in obtaining station information using the get_station method with an input point. The script I am attempting to use is:
However, for the line:
I receive the following:
I have also attempted to substitute the geometry attributes for that of station id 0c58fa18828c819f551900f2:
but receive the error:
I suspect I must define the station_id (which returns Might you have any insight as to how I might ameliorate this issue? Please note I am relatively new to Python so please excuse my limited understanding in the nature of the errors or the package itself. Any help would be kindly appreciated! |
Hi again, Normally you'd want to open a new "issue" as my original "issue" is not specifically related to your issue, but don't worry about it this time. I got this when I printed PrecipData when I ran your code up to that line:
Also for future reference, you can pass a geometry (point or polygon) to the get_station method to filter the stations that you want, but passing a point geometry to the get_results if perfectly fine too (it's probably better for your use case). |
Similar to the get_stations method, the get_datasets method should have functionality to geospatially filter datasets.
Just like the get_stations method, there should be a way to get all datasets within/intersect with an input polygon or when a point is provided as input get all datasets that are within that point.
The text was updated successfully, but these errors were encountered: