Skip to main content

Python library for processing VIIRS data

Project description

viirs-tools

viirs-tools is a Python library that provides basic algorithms for retrieving meteorological data from VIIRS (Visible Infrared Imaging Radiometer Suite) satellite shots. This project started as a diploma (or thesis) project, and the primary goals of the viirs-tools library are threefold:

  1. Faster Data Processing: The library aims to make the process of working with VIIRS data much quicker than the standard NASA approach. The goal is to provide near-real-time (NRT) data processing capabilities, allowing researchers and scientists to access and analyze the data in a more timely manner. However, it's important to note that this speed improvement may come at the cost of reduced accuracy, as the library's algorithms may not be as thoroughly tested and validated as the NASA's standard processing pipeline.

  2. Easier VIIRS Data Utilization: In addition to the speed improvements, the library is designed to make it easier for researchers and scientists to work with VIIRS data.

  3. Flexible Data Handling: One of the key aims of the viirs-tools library is to provide users with handy access to the underlying algorithms, allowing them to work with the data in a variety of formats, including xr.Dataset, xr.DataArray, and np.ndarray. This flexibility ensures that the library can be seamlessly integrated into a wide range of data processing workflows.

Installation

To install viirs-tools, you can use pip:

 pip install viirs-tools 

If you want to use the Assimilator extra module, which allows you to download data from NASA servers:

pip install viirs-tools[assimilator]

Note that this module functions rely on the cmrfetch package, you need to install and configure it first.

Usage

The viirs-tools library provides the following core modules and their main functions:

  1. CloudMask:

    • rsnpp_day_img: Day reflectance/thermal I-bands cloud test. [^1]
    • thermal_img: Night thermal I-bands cloud test. [^2]
    • day_night_img: Day/night cloud mask based on the previous 2
  2. NightMask:

    • naive: Day/night mask, based on the difference between presence of reflectance and thermal data, for both I- and M-bands
  3. Utils:

    • Just some helpful functions
  4. Assimilator submodule:

    1. Assimilator:
      • assimilate: Retrieving data from NASA archives using cmrfetch, with support for handy data collection process management
    2. Reading
    3. ReadingHelpers
      • Contains some helper functions for reading files that aren't supported by SatPy module (some examples of using them in the previous module)

References

[^1]: M.Piper, T.Bahr (2015). A RAPID CLOUD MASK ALGORITHM FOR SUOMI NPP VIIRS IMAGERY EDRS.

[^2]: W.Schroeder, P.Oliva, L.Giglio, I.A.Csiszar (2014). The New VIIRS 375 m active fire detection data product: Algorithm description and initial assessment.

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

viirs-tools-0.1.1.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

viirs_tools-0.1.1-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file viirs-tools-0.1.1.tar.gz.

File metadata

  • Download URL: viirs-tools-0.1.1.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for viirs-tools-0.1.1.tar.gz
Algorithm Hash digest
SHA256 de2262510287b3402b477bccdd99a4c0d3351d34e454330408af83a6dda90159
MD5 46968d42ecd64ed5028ce346d94f6d6c
BLAKE2b-256 f1f025b2e3910336181eaa4e3e0349ab7b79bfddbec108c5fda4b7ec9ab25ccb

See more details on using hashes here.

File details

Details for the file viirs_tools-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: viirs_tools-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for viirs_tools-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 349f96aaff452d9d5fa9edd44755c397128a1c98bb9ef3d7682f7012ea717420
MD5 8b8da019a2f43d07c48b886ec323fc1e
BLAKE2b-256 7760dbe2faf5329f855004273283cfc04afda877d87d110990e55ae034266345

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