Versions Compared

Key

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

...

Use https://opensource.ncsa.illinois.edu/bitbucket/snippets/e2862e635cbf426988d8c6d4231e151b
and post to /api/trends/region with valid master token.

 it indicate The json file indicates which regions & parameters are used. regions's geometry information is not stored in the DB, it uses the one in the json file

Also, it only add new regions and skip when the region already exist. This logic need to update if update regions are required

Sample scripts for ingesting the data 

...