Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

FEWS will automatically add x_lo, x_hi, y_lo, y_hi, z_lo, z_hi values to the url. The data will be extracted from the grid configuration.  Please make sure that the configured grid layer depth (z-layer) matches exactly the z_lo layer values the library provides. If it is not an exact match the data request will be refused.  The z_hi values will be calculated by FEWS (z_lo+0.01). Do not use more than two decimals to configure the layers. When shortening the numbers, do not round them: just remove extra digits beyond 2 decimals. Note: Even for 2D imports you need to configure the correct z-value, e.g. 0.493, of the grid layer in Locations.xml.

Code Block
titleZ-layer configuration example
linenumberstrue
LAYER,Z
1,-0.49
8,-9.57
18,-47.37
23,-109.72
32,-541.08
36,-1062.43
46,-3992.48

The parameters needed will be added to the request url by FEWS. It uses the external paramter ID for this, so please make sure it matches the parameter that should be in the url exactly.


Attempting to import too many data points at once can cause an error on the data provider (server) side. The default way of importing data is per time step and per layer. If the grids are very small, it can be possible to import several time steps or layers at once. For this, properties importAllLayersAtOnce and importTimePeriodAtOnce should be set to true. The properties can be used independently of each other. If importAllLayersAtOnce is set to true, data from all layers available between the highest and lowest will be downloaded, even for ones that are not configured in FEWS and not needed.

Code Block
titleZ-layer configuration example
linenumberstrue
LAYER,Z
1,-0.49
8,-9.57
18,-47.37
23,-109.72
32,-541.08
36,-1062.43
46,-3992.48

The parameters needed will be added to the request url by FEWS. It uses the external paramter ID for this, so please make sure it matches the parameter that should be in the url exactly.

This example is configured to import 2D Hourly grids for the last 24 hours: 

...