Skip to main content

No project description provided

Reason this release was yanked:

Testing not intended for use

Project description

alt text

Build and TestCoverage

GVAL (pronounced "g-val") is a high-level Python framework to evaluate the skill of geospatial datasets by comparing candidates to benchmark maps producing agreement maps and metrics.

GVAL is intended to work on raster and vector files as xarray and geopandas objects, respectively. Abilities to prepare or homogenize maps for comparison are included. The comparisons are based on scoring philosophies for three statistical data types including categorical, continuous, and probabilistic.

See the full documentation here.

WARNING:

  • Our current public API and output formats are likely to change in the future.
  • Software is provided "AS-IS" without any guarantees. Please QA/QC your metrics carefully until this project matures.

Installation

General Use

To use this package:

pip install gval

Or for bleeding edge updates install from the repository:

pip install 'git+https://github.com/NOAA-OWP/gval'

Using GVAL

An example of running the entire process for two-class categorical rasters with one function using minimal arguments is demonstrated below:

import gval
import rioxarray as rxr

candidate = rxr.open_rasterio('candidate_map_two_class_categorical.tif', mask_and_scale=True)
benchmark = rxr.open_rasterio('benchmark_map_two_class_categorical.tif', mask_and_scale=True)

(agreement_map,
 crosstab_table,
 metric_table) = candidate.gval.categorical_compare(benchmark,
                                                   positive_categories=[2],
                                                   negative_categories=[0, 1])

Outputs

agreement_map

alt text

crosstab_table

alt text

metric_table

alt text

For more details on how to use this software, check out this notebook tutorial.

Contributing

Guidelines for contributing to this repository can be found at CONTRIBUTING.

Citation

Please cite our work if using this package. See 'cite this repository' in the about section on GitHub or refer to CITATION.cff

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

gval-0.1.0-4-py3-none-any.whl (52.6 kB view details)

Uploaded Python 3

gval-0.1.0-3-py3-none-any.whl (52.5 kB view details)

Uploaded Python 3

gval-0.1.0-2-py3-none-any.whl (52.5 kB view details)

Uploaded Python 3

File details

Details for the file gval-0.1.0-4-py3-none-any.whl.

File metadata

  • Download URL: gval-0.1.0-4-py3-none-any.whl
  • Upload date:
  • Size: 52.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for gval-0.1.0-4-py3-none-any.whl
Algorithm Hash digest
SHA256 886663c3266c6f7f35d5fe942db3128c0334f6bb7be89fbea2f1f1ae3fa786ed
MD5 e06c4ca4b11d35f34675aa5252ccb4b0
BLAKE2b-256 dc0030827148c04bfddc105a0c7b51e845037dbb6ee5bd5737e5203a0cca246f

See more details on using hashes here.

File details

Details for the file gval-0.1.0-3-py3-none-any.whl.

File metadata

  • Download URL: gval-0.1.0-3-py3-none-any.whl
  • Upload date:
  • Size: 52.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for gval-0.1.0-3-py3-none-any.whl
Algorithm Hash digest
SHA256 b789aea17d30888f896aa78be44d9b32d2ee3f125aded2dded3bdf0787db5bfd
MD5 8daa2cc823dfd81a4f5845974fe49b50
BLAKE2b-256 c4f66487a5684943294872e34664981a24c5b446351b295275949a7978c9467e

See more details on using hashes here.

File details

Details for the file gval-0.1.0-2-py3-none-any.whl.

File metadata

  • Download URL: gval-0.1.0-2-py3-none-any.whl
  • Upload date:
  • Size: 52.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for gval-0.1.0-2-py3-none-any.whl
Algorithm Hash digest
SHA256 639da5425544f5abec4cf65f9b74837773ef3d62024598658d62cf72429beecf
MD5 759102a22b26a997da546d492fa46a55
BLAKE2b-256 4de7778e2f2ab5884a3e2734e6d5cb0d4cb07d38cceea0999c7129db42e42a94

See more details on using hashes here.

Supported by

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