Skip to main content

Stratified Assessments of Forecasts over Earth

Project description

SAFE

Stratified Assessment of Forecasts over Earth

Preprint and Website

Installation

pip install safe-earth

To build from source instead:

# get repo
git clone git@github.com:N-Masi/safe.git

# create dev environment
conda create -n safe.env
conda activate safe.env
pip install --file requirements.txt
conda install --channel conda-forge pygmt plotly typing_extensions

Example

An example of using the package to collect metrics on 6 AIWP models across the territory, subregion, income, and landcover attributes is availabe in demos/iclr_workflow.py. It assesses the models using 2020 ERA5 data.

Data Notes

To unify the coordinate system across all integrated data sources, latitude ranges [-90, 90] with index 0 at -90, and longitude [-180, 180) but with index 0 at 0 and a wraparound from 180 to -180 in the middle. This is because metadata sourced from pygeoboundaries_geolab follows this coordinate system, and it is easiest to bring tabular data into conformance.

Testing

Run pytest in the terminal of the repo directory while in python environment that has pytest installed.

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

safe_earth-0.1.1.tar.gz (39.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

safe_earth-0.1.1-py2.py3-none-any.whl (26.7 MB view details)

Uploaded Python 2Python 3

File details

Details for the file safe_earth-0.1.1.tar.gz.

File metadata

  • Download URL: safe_earth-0.1.1.tar.gz
  • Upload date:
  • Size: 39.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for safe_earth-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1e6580040e2476b9e3642cc9784105ea9167042ba2af997d92d781c7427eeb11
MD5 ed6989c75110f50bd6a26957d63af3cb
BLAKE2b-256 14cbf912215e14219cf70d47e06a95ebea4bd3a742be06906fac8c45154299b1

See more details on using hashes here.

File details

Details for the file safe_earth-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: safe_earth-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 26.7 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for safe_earth-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e15f6be3ac36ebd6e32594bf3eeb7c7e9a6052d70d6fd399292d573ba247b993
MD5 8f70e1faedbffd0e3cc4e40c31e388bb
BLAKE2b-256 fb1b487e94c07f1140bb9d0271e3cd88b4268f6d2c0a01dd7bfa022f0ddf64ec

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