Skip to main content

Readers and converters for data acquired by the ASCAT sensor on-board the MetOP satellites

Project description

https://travis-ci.org/TUW-GEO/ascat.svg?branch=master https://coveralls.io/repos/github/TUW-GEO/ascat/badge.svg?branch=master https://badge.fury.io/py/ascat.svg https://readthedocs.org/projects/ascat/badge/?version=latest

Read and convert data acquired by ASCAT on-board the series of Metop satellites. Written in Python.

Works great in combination with pytesmo.

Citation

https://zenodo.org/badge/DOI/10.5281/zenodo.596434.svg

If you use the software in a publication then please cite it using the Zenodo DOI. Be aware that this badge links to the latest package version.

Please select your specific version at https://doi.org/10.5281/zenodo.596434 to get the DOI of that version. You should normally always use the DOI for the specific version of your record in citations. This is to ensure that other researchers can access the exact research artefact you used for reproducibility.

You can find additional information regarding DOI versioning at http://help.zenodo.org/#versioning

Installation

The packages you have to install depend on the features you want to use. The H SAF soil moisture products are disseminated in BUFR, NetCDF or GRIB format. In order to read them you will have to install the appropriate packages which will be explained shortly. Unfortunately neither BUFR nor GRIB readers work on Windows so if you need these formats then Linux or OS X are your only options.

For installation we recommend Miniconda. So please install it according to the official installation instructions. As soon as you have the conda command in your shell you can continue.

The following script will download and install all the needed packages.

conda create -q -n ascat_env -c conda-forge python=3.6 numpy pandas netCDF4 pip pyproj pybufr-ecmwf cython h5py pygrib
source activate ascat_dev
pip install pygeobase pygeogrids pynetcf lxml
pip install ascat

This script should work on Windows, Linux or OSX but on Windows you will get errors for the installation commands of pybufr-ecmwf and pygrib.

Supported Products

This gives a short overview over the supported products. Please see the documentation for detailed examples of how to work with a product.

Read ASCAT data from different sources into a common format supported by pytesmo.

  • H SAF * Surface Soil Moisture (SSM) and Root Zone Soil Moisture (RZSM) products

  • Copernicus Global Land Service (CGLS) * CGLS Soil Water Index (SWI) products

  • EUMETSAT * ASCAT Soil Moisture at 12.5 km Swath Grid - Metop * ASCAT Soil Moisture at 25 km Swath Grid - Metop * ASCAT GDS Level 1 Sigma0 resampled at 12.5 km Swath Grid - Metop * ASCAT GDS Level 1 Sigma0 resampled at 25 km Swath Grid - Metop

Contribute

We are happy if you want to contribute. Please raise an issue explaining what is missing or if you find a bug. We will also gladly accept pull requests against our master branch for new features or bug fixes.

Development setup

For Development we also recommend a conda environment. You can create one including test dependencies and debugger by running conda env create -f environment.yml. This will create a new ascat_dev environment which you can activate by using source activate ascat_dev.

Guidelines

If you want to contribute please follow these steps:

  • Fork the ascat repository to your account

  • Clone the repository, make sure you use git clone --recursive to also get the test data repository.

  • make a new feature branch from the ascat master branch

  • Add your feature

  • Please include tests for your contributions in one of the test directories. We use py.test so a simple function called test_my_feature is enough

  • submit a pull request to our master branch

Note

This project has been set up using PyScaffold 2.5.6. For details and usage information on PyScaffold see http://pyscaffold.readthedocs.org/.

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

ascat-1.0.2.tar.gz (5.7 MB view details)

Uploaded Source

File details

Details for the file ascat-1.0.2.tar.gz.

File metadata

  • Download URL: ascat-1.0.2.tar.gz
  • Upload date:
  • Size: 5.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200209 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.7

File hashes

Hashes for ascat-1.0.2.tar.gz
Algorithm Hash digest
SHA256 bbd67603e4a09eacb72dbe6c34eaa41dc288cb0b3a31cc662c2bed8c00430a57
MD5 b1b8efc2bda37b5287315a22f26017fc
BLAKE2b-256 07f807d43292420f3e98ead83615024359b850b73dd41ed20b8b2e340cf874f1

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