ICOS-Carbon-Portal / pylib

Python library for direct access to ICOS time series data.
12 stars 3 forks source link

Reverse geocoding warning #187

Open ZogopZ opened 5 months ago

ZogopZ commented 5 months ago

The following warning, should only be displayed when trying to run the STILT module off-server, or even better when the reverse geocoding implementation is being used. Currently it's being shown when the const.py file is loaded (this implementation was meant to facilitate testing the library. See #172 for more information).

/srv/git/pylib/src/icoscp/const.py:72: Warning: Please be aware, that the reverse geocoding functionality of the "countries" module is not available locally (outside of the Virtual Environment at the ICOS Carbon Portal). You must use one of our Jupyter Services. Visit https://www.icos-cp.eu/data-services/tools/jupyter-notebook for further information. warnings.warn(off_server_countries_warning, category=Warning)