Skip to content

Automatic extraction of CHIRPS-GEFS rainfall forecast data using ClimateSERV

Notifications You must be signed in to change notification settings

Servir-Mekong/ClimateSERV_CHIRPS-GEFS

Repository files navigation

Get CHIRPS-GEFS daily forecast data (15 days)

Automatic extraction of daily CHIRPS-GEFS forecasts. Up to 15 days forecast.

DatasetType: CHIRPS-GEFS_ mean spatial resolution: 0.05 degrees Num days forecast: 1 to 15 days

Data extraction methods

Range-based: ClimateServ_CHIPS-GEFS.bat: Historical data extraction at global scale using the ClimateSERV API https://climateserv.servirglobal.net/

Operational extraction for the Mekong Basin region Domain [minLon: 89, Maxlon: 112, Minlat: 3 , MaxLat:36] OP_CHIRPS-GEFS_Tiff_NetCDF.bat: Operational forecast for the Mekong region [ format tif and/or NetCDF]. OP_CHIRPS-GEFS_ASCII.bat: Operational forecast for the Mekong region adapted to the FEWS system (http://www.delft-fews.nl/)

Requirements

Range-based:

  • climateserv = 0.0.12

Operational Mekong Basin:

  • netCDF4 >= 1.4.2
  • gdal >= 2.3.3

Python Installation

Run this command to start installing all python dependencies:

  conda env create -f environment.yml

Parameters

ClimateServ_CHIPS-GEFS.bat:

    -i [DatasetVariable] CHIRPS_GEFS_precip_mean
    -o [Outfile in format .zip] 
    -b [boundary MinLon,Maxlon,Minlat,Maxlat]
    -s [EarliestDate]
    -t [LatestDate]
    -n [post_netcdf] 'yes' (optional)

OP_CHIRPS-GEFS_Tiff_NetCDF.bat

    -o [Outfile] 
    -b [boundary]
    -f [days_forecast] 1/15 days
    -n [postNETCDF]  'yes' (optional)

OP_CHIRPS-GEFS_ASCII.bat

    -o [Outfile] 
    -b [boundary]
    -f [days_forecast] 1/15 days
    -s [EarliestDate]
    -t [LatestDate]

Examples:

ClimateServ_CHIPS-GEFS.bat: 
    python bin/ClimateServ_CHIPS-GEFS.py -i CHIRPS_GEFS_precip_mean -o CHIRPS_GEFSrange.zip -b 93,110,9,25 -s '2020-03-10' -t '2020-03-20'  -n yes

OP_CHIRPS-GEFS_Tiff_NetCDF.bat
    python bin/Op_MK_CHIPS-GEFS.py -o CHIRPS_GEFS -b 93,110,9,25 -f 10 

OP_CHIRPS-GEFS_ASCII.bat
    python bin/Op_MK_CHIPS-GEFS_ASCII.py -o CHIRPS_GEFS_ascii -b 89,112,3,36 -f 10

About

Automatic extraction of CHIRPS-GEFS rainfall forecast data using ClimateSERV

Resources

Stars

Watchers

Forks

Packages

No packages published