Comments (10)
@kauedesousa We just added that as a requirement for the new version that is being developed. We are overhauling the entire back end to make it more stable and flexible. Development has already begun and we hope for it to be available within the next two months. It will maintain all current API calls and returns as well as add some additional useful features including the netCDF for y'all.
from climateserv.
I have passed on the request to the team that is currently working on the new version of the API, i'll let you know when I get some feedback.
from climateserv.
Currently the API has a Download option which will download the all of the tif files in the date range clipped to the bounding box of the polygon. The new version that is being developed may be able to offer a better solution. Would a netCDF file with the gridded data subset to a minimum bounding box that covers the requested polygon with a binary mask applied based on the desired polygon work?
Alternatives to the netCDF would be to return a series of subset and masked GeoTiffs, or to return a CSV file with [lat,lon,time,value] for all gridded data points that fall within the polygon. The latter sounds most like what the stated request above is for but for polygons that are large relative to the grid resolution, subsetting, creating and transferring a lot of points in an ASCII/CSV format could get out-of-hand. It could also be really slow if the data files from which we are grabbing are not optimized for point extractions ...
from climateserv.
I think that @adamhsparks has a method to do this. What do you think @adamhsparks?
from climateserv.
We could work with a netCDF format. Understandably that's the easiest on your end, shouldn't create issues for us to write a client, I don't think.
from climateserv.
Hi @billyz313 can you show the documentation to fetch the netCDF files? I can't see it in the API docs.
from climateserv.
Ah I see. Thanks @billyz313!
from climateserv.
Hi @billyz313 , I hope you are doing fine
Just checking if you managed to develop the new version to allow calls for a bounding box.
Cheers!
from climateserv.
@kauedesousa Unfortunately we had a delay in the development, we are currently in a regrouping stage and trying to work out an ETA. I will keep you updated as I find out more.
from climateserv.
@kauedesousa You can now use operationtype=7 in the data request, this will return the jobID which you can poll for progress, when 100% you can make the request for the data https://climateserv.servirglobal.net/api/getFileForJobID/?id={jobID} This will return a zipped NetCDF which is masked to the polygon sent in the request.
from climateserv.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from climateserv.