Helper function - Queries the Cal-Adapt API using the user defined AOI and returns the data as a json object.
returnData(wkt, stat, fileName)
| wkt |
Well know text (wkt) representation of your AOI |
|---|---|
| stat |
Statistic of pixels in your AOI |
| filename |
Variable of interest on the Cal-Adapt API. |
caladapt-py has the ability to store copies of objects downloaded
from Cal-Adapt. An example of this would be the source rasters in netcdf format and tabular data
queried using user defined AOI. Using this function you can easily query the Cal-Adapt API for your
area of interest.