ausecocloud / ecocloud

Issue tracker
6 stars 0 forks source link

Write API for 'splice and dice' tool (WPS) #54

Open sarahrichmond opened 5 years ago

sarahrichmond commented 5 years ago

Allow users to subset a data file to a given geographic region.

Similar to https://github.com/bird-house/flyingpigeon/blob/master/flyingpigeon/processes/wps_subset_countries.py

manhinli commented 5 years ago

Progress so far:

Have hit a number of issues with PyWPS which I've discussed with @gweis as well:

I'll be putting this aside temporarily to work on other things, and will return after more thorough investigation and discussion on what to do.

manhinli commented 5 years ago

Progress made last week with the establishment of a demonstration WPS server, with a NetCDF-compatible spatial subsetting process included.

Will review over the work, and also build up a notebook to demonstrate usage as suggested in meeting on Wednesday.

manhinli commented 5 years ago

This is effectively done and is currently hosted on a demo WPS server. There are two versions: spatial_subset_netcdf and spatial_subset_geotiff which accept NetCDF and GeoTIFF files respectively, along with a shapefile for subsetting/clipping/masking.

Example notebooks have also been created in Jupyter/Python and demonstrated.