Skip to main content

View current weather conditions in Enhydris

Project description

Enhydris-synoptic is an app that adds a page to Enhydris that shows current conditions in several stations.

Note that it does not check permissions; any synoptic view created will be public, regardless of whether the timeseries from which it is derived are marked top secret.

Enhydris-synoptic is free software, available under the GNU Affero General Public License.

Installing and configuring

  • pip install enhydris-synoptic

  • In the Enhydris settings.py file, add enhydris_synoptic to INSTALLED_APPS, and set ENHYDRIS_SYNOPTIC_ROOT and ENHYDRIS_SYNOPTIC_URL.

    Enhydris-synoptic works by creating static files which are then served by the web server. ENHYDRIS_SYNOPTIC_ROOT indicates where this files shall be stored. ENHYDRIS_SYNOPTIC_URL is currently not used anywhere, but it’s better to set it anyway; later versions might start to use it without warning.

  • In the Enhydris configuration directory, execute python manage.py migrate.

  • Run celery and celerybeat, and configure celerybeat to execute the enhydris_synoptic.tasks.create_static_files task once in a while.

  • Configure your web server to serve ENHYDRIS_SYNOPTIC_ROOT at ENHYDRIS_SYNOPTIC_URL.

  • Go to the admin and setup a view.

After celery executes, the report will be available at ENHYDRIS_SYNOPTIC_URL + slug + '/', where slug is the URL identifier given to the synoptic view.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

enhydris-synoptic-0.1.0a15.tar.gz (8.9 kB view details)

Uploaded Source

File details

Details for the file enhydris-synoptic-0.1.0a15.tar.gz.

File metadata

File hashes

Hashes for enhydris-synoptic-0.1.0a15.tar.gz
Algorithm Hash digest
SHA256 6dde4fbcd36ccd6fb5c46ba19edd99951b0b24c509cac70f08816b3f58982414
MD5 0f8ec6795e0a931da61747182966a15a
BLAKE2b-256 c9c9ca6d2650d9f1228e1f485aa07a93073194b7407f944b4543bc68fa5171e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page