Sample workflow to download and aggregate a given variable (default: maximum temperature) for a given date

Source code

Workflow

Inputs

Name

Type

Default

Description

geography

string

zcta

Type of geography: zip codes or counties Valid values: “zip”, “zcta” or “county”

band

string

tmmx

University of Idaho Gridded Surface Meteorological Dataset bands

date

string

a date to retrieve data for in the ‘YYYY-mm-dd’ format

ram

string

2GB

Runtime memory, available to the process

Outputs

Name

Type

Description

netCDF_file

File

csv_file

File

shapefiles

File[]

download_log

File

download_err

File

aggregate_log

File

aggregate_errors

File

Steps

Name

Runs

Description

download

download.cwl

Downloads NetCDF file with gridMET data from Atmospheric Composition Analysis Group

get_shapes

get_shapes.cwl

This step downloads Shape files from a given collection (TIGER/Line or GENZ) and a geography (ZCTA or Counties) from the US Census website, for a given year or for the closest one.

aggregate

aggregate_daily.cwl

This step aggregates gridded data from a NetCDF file over polygons from the provided shapefiles