WPCS_query.Rd
This function provides the possibility to interact directly with the data cubes. It gives the option to execute a WPCS query in txt/csv format
WPCS_query(proper_query = NULL, FORMAT, filename = NULL, query_url = NULL)
proper_query | The proper WPCS query for the selected coverage, in WPCS query language (eg. 'for c in (rh_ana) return encode(c[E(515200),N(5037430), ansi("2020-10-01")], "text/csv" )'. The script takes care of encoding it |
---|---|
filename | downloadfile name (all path) |
query_url | Web Coverage Service (WCS) for processing the query. This URL can be built with the *createWCS_URLs* function. [character] |
ext_format | output format for the WCPS query result. [character] The format coul be raster format ("tiff"), image format ("png", "jpeg", "bmp") or text/csv format ("txt", "csv"). |