DFO-CHS-Dynamic-Hydrographic-Products / IWLS_pygeoapi

pygeoapi plugins to access and process water level and surface currents from the IWLS public API
5 stars 0 forks source link

Moved process metadata to json file #26

Closed maximecarre1 closed 2 years ago

maximecarre1 commented 2 years ago

The process metadata for S100 have been moved from a very long dictionary in process_iwls.py to an external json file in the template folder.

The documentation for pygeoapi processing plugins gave the hardcoded dictionary as an example but moving it to a json file simplify the code and allows to change metadata without recompiling or rebooting the server.

princessmittens commented 2 years ago

Looks good to me. Merging now.