Workflow to aggregate and ingest one gridMET file in NetCDF format

Source code

Workflow

Description

Sub-workflow that aggregates a single NetCDF file over a given geography (zip codes or counties) and ingest the aggregated data into the database

Inputs

Name

Type

Default

Description

depends_on

Any?

proxy

string?

model

File

shapes

Directory?

geography

string

year

string

band

string

domain

string

table

string

database

File

connection_name

string

dates

string?

strategy

string

ram

string

2GB

Runtime memory, available to the process

months

int[]

[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]

Outputs

Name

Type

Description

download_log

File

download_err

File

add_data_aggregate_log

File[]

add_data_data

File[]

add_data_aggregate_errors

File[]

add_data_ingest_log

File[]

add_data_ingest_errors

File[]

vacuum_log

File

vacuum_err

File

Steps

Name

Runs

Description

download

download.cwl

Downloads data

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.

add_data

add_daily_data.cwl

Processes data

vacuum

vacuum.cwl