Skip to main content

ci cov pip doc

Description

Grid definition of the 0.1 and the 0.25 degree Discrete Global Grid (DGG) used for the creation of the CCI soil moisture products and the Copernicus Climate Change Service products.

Full Documentation

For the full documentation, click on the docs-badge at the top.

Installation

The package is available on pypi and can be installed via pip:

pip install smecv_grid

Loading and using the SMECV grid

The smecv_grid package contains the global quarter degree (0.25x0.25 DEG) grid definition, used for organising the ESA CCI SM and C3S SM data products. It contains masks for:

  • Land Points (default)

  • Dense Vegetation (AMSR-E LPRMv6 VOD>0.526),

  • Rainforest Areas

  • One or multiple ESA CCI LC classes (reference year 2010)

  • One or multiple Koeppen-Geiger climate classes (Peel et al. 2007, DOI:10.5194/hess-11-1633-2007).

For more information on grid definitions and the usage of grids in general, we refer to the pygeogrids package in the background.

Loading the grid

For loading the grid, simply run the following code. Then use it as described in pygeogrids

from smecv_grid import SMECV_Grid_v052, SMECV_Grid_MR_v01 # 0.1 degree resolution
# Load a global grid
glob_grid = SMECV_Grid_v052(subset_flag=None) # 0.25 degree
# Load a land grid
land_grid = SMECV_Grid_v052(subset_flag='land')
# Load a rainforest grid
rainforest_grid = SMECV_Grid_v052(subset_flag='rainforest')
# Load grid with points where VOD > 0.526 (based on AMSR-E VOD)
dense_vegetation_grid = SMECV_Grid_v052(subset_flag='high_vod')
# Load a grid with points over urban areas
urban_grid = SMECV_Grid_v052(subset_flag='landcover_class', subset_value=190.)
# Load a landcover with points over grassland areas
grassland_grid = SMECV_Grid_v052(subset_flag='landcover_class',
    subset_value=[120., 121., 122., 130., 180.])
# Load a climate grid with points over tropical areas
tropical_grid = SMECV_Grid_v052(subset_flag='climate_class',
    subset_value=[0., 1., 2.])

To see all available classes and subset values see tables on implemented ESA CCI LC and KG Climate classes

Metadata

Release files for smecv-grid 0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smecv-grid 0.6
File Size Uploaded
smecv_grid-0.6.tar.gz 1.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for smecv-grid 0.6
File Interpreter ABI Platform
smecv_grid-0.6-py3-none-any.whl Python 3 none any Details

Total release size: 2.0 MB

Release files / smecv_grid-0.6.tar.gz

Download URL smecv_grid-0.6.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
546551bf6669f35766ac240a45f355d33c261c5254b21f0ea26beb06eda09603
BLAKE2b-256 checksum
How to use checksums
667dd0c6a6fbe84a1aada2e454c1fadd734365cb09585902d62fe0ec3d3c6341
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / smecv_grid-0.6-py3-none-any.whl

Download URL smecv_grid-0.6-py3-none-any.whl
Size 795.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2b51c8a44c930e0dba81f8301365ccc87a48e4efa88841baac4c8e6f3f8311d
BLAKE2b-256 checksum
How to use checksums
e3c309608922f6595666e4529f970022b243d1d162a648796b40b41d7eadbf10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

0.6 This release

2 release files

0.5

2 release files

0.4

2 release files

0.3

1 release file

0.2.1

1 release file

0.2

1 release file

0.1

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page