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

add the capability to do bulk downloads from /observation endpoint #113

Open
elidana opened this issue Jun 26, 2017 · 4 comments
Open

add the capability to do bulk downloads from /observation endpoint #113

elidana opened this issue Jun 26, 2017 · 4 comments

Comments

@elidana
Copy link

elidana commented Jun 26, 2017

At the moment, users can only download a data type and a single site per time.
To download data for the siteID=GISB, they will need to run the same command 3 times:

curl -o tmp http://fits.geonet.org.nz/observation?typeID=n&siteID=GISB
curl -o tmp http://fits.geonet.org.nz/observation?typeID=e&siteID=GISB
curl -o tmp http://fits.geonet.org.nz/observation?typeID=u&siteID=GISB

Would be good to provide them the capability of doing bulk downloads.
Two different scenarios I can think of:

and

@elidana
Copy link
Author

elidana commented Jun 26, 2017

end users comments:
GeoNet/help#33 (comment)
and

would be easier to download n, e and u in one package instead of doing them separately

@rumachan
Copy link

I do 'all available siteIDs related to a typeID' with python but its a bit fiddly. Being able to do this with a single query would be nice, and woud enable non-pythoners to do it too.

Both is and the other possible query then result in the obvious question - how do I visualise the downloaded data? You realise that if we have these queries someone will then want to return plots. So we should think about this a bit, sometime.

@elidana
Copy link
Author

elidana commented Jun 26, 2017

uuuh, that's tricky. I haven't thought about the possibility of people wanting ALSO to visualize allthethings. But...I think the first example (i.e. all typeID related to a specific siteID), is already covered by #65 , right?

@rumachan
Copy link

I just thought it was human nature to ask for the next thing! Yes, right. Before we get much further we really have to think about display of these data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants