The service can be called to translate spatial queries into a variaty of protocols. Currently, OPeNDAP, CdmRemmote and NCSS are supported. A custom query format is used and translated by EasyThredds. Therefore, the URL has to match the following pattern: <EasyThredds base URL>/<protocol name>/translate/<dataset>?<query>
The protocol can be omitted to let EasyThredds pick the best protocol automatically. Otherwise, it has to be one of [cdmremote, opendap, ncss]. The endpoint THREDDS catalogue has to be specified in the ressource file 'config.properties'.
The query can contain the following elements.
| Name | Explanation | Type | Condition | Example |
| vars | The variables to be fetched | list of textual variable names | at least one variable is required | vars=aclc |
| lat | The latitude subset range | spatial range | The range has to be within the boundaries 0.0 to 360.0 | lat=[12.4;1;17.8] |
| lon | The longitude subset range | spatial range | The range has to be within the boundaries -90.0 to 90.0 | lat=[4.0;;18.9] |
| lev | The altitude subset range | numeric range | - | lat=[0:1:5] |
| time | The time subset range | time range | The date time format is 'dd/MM/yyyy-HH:mm:ss' | lat=[20/08/1992-20:00:00;1;22/02/1999-12:00:00] |
Each range has a start value, a stride and an end value. If the stride is omitted the default stride of 1 is assumed. The start value has to be smaller or equal to the end value.