NASAPrecipitation.jl

Download and analyze NASA Precipitation Products from the Precipitation Measurement Mission
Author natgeo-wong
Popularity
16 Stars
Updated Last
1 Year Ago
Started In
June 2021

NASAPrecipitation.jl Logo

NASAPrecipitation.jl

Repo Status GitHub Actions
MIT License MIT License Latest Documentation Latest Documentation

Created By: Nathanael Wong (nathanaelwong@fas.harvard.edu)

Introduction

NASAPrecipitation.jl is a Julia package that aims to streamline the following processes:

  • downloads of NASA Precipitation Measurement Mission datasets
  • basic analysis of said datasets
  • perform all the above operations innately over a given GeoRegion

NASAPrecipitation.jl has been registered. Install it via:

] add NASAPrecipitation

To get the most recent release on the #main branch, do

] add NASAPrecipitation#main

Required Installation

In order to access NASA's EOSDIS OPeNDAP servers, the following steps are required for NCDatasets.jl to access the data:

  • You need to register an account with Earthdata
  • Create a .netrc file, and paste the following:
    • machine urs.earthdata.nasa.gov login <your login> password <your password>
  • Create a .dodsrc file, and paste the following:
    • HTTP.COOKIEJAR=/<home directory>/.urs_cookies
    • HTTP.NETRC=/<home directory>/.netrc

Usage

Please refer to the documentation for instructions and examples. A working knowledge of the GeoRegion and RegionInfo supertypes used in GeoRegions.jl v2 is also needed.

Tip: Both the GeoRegions.jl and Dates dependencies are reexported by NASAPrecipitation.jl, and therefore there is no need to call either GeoRegions.jl or Dates separately when using the NASAPrecipitation.jl package.

Supported Datasets

The following datasets are supported:

  • GPM IMERGv6, 0.1º resolution, 60ºS to 60ºN
    • Final runs for Half-Hourly, Daily and Monthly Data
    • Early and Late runs of Half-Hourly and Daily Data
  • TRMM TMPAv7, 0.25º resolution, 50ºS to 50ºN
    • Final runs for 3-Hourly, Daily and Monthly Data
    • Near Real-Time runs of 3-Hourly and Daily Data

Only the calibrated precipitation data is downloaded, with units of rate in mm/s.

If there is demand, I can easily add other datasets available on the gpm1 and disc2 NASA OPeNDAP servers to the mix as well. Please open an issue if you want me to do so.

Used By Packages

No packages found.