Versions Compared

Key

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

...

  • the given serverUrl must already contain "?type=XXX&idCountry=XXX" where the XXX are replaced with the relevant values
    • available types are: raw, instant, daily, month
    • for user FEWS-Bolivia idCountry is:591
  • a relativeViewPeriod must be specified and in the specified id map"general" section
  • the externalLocation must be set to the desired N_IdStation and the externalParameter to the desired N_IdVar in the specified idMap.

The import will take the serverUrl and append it with "&from=year/month/day&to=year/month/day", where the dates are filled using the relativeViewPeriod found in the import configuration file. It will read the D_DataDate and N_Data fields of the resulting json and map these to the correct time series using the N_IdStation and N_IdVar fields.  Running the import in debug mode will print the full ulr in the log window.

Example Import configuration file:

...