-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update examples, docs, tests and deps.
- Loading branch information
Showing
15 changed files
with
1,281 additions
and
1,313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,105 +1,107 @@ | ||
{ | ||
"load": { | ||
"process_id": "load_collection", | ||
"description": "Load ERA5 monthly 2m air temperature from 1979 to 2019", | ||
"arguments": { | ||
"id": "ECMWF/ERA5/MONTHLY", | ||
"spatial_extent": null, | ||
"temporal_extent": ["1979-01-01","2020-01-01"], | ||
"bands": ["mean_2m_air_temperature"] | ||
} | ||
}, | ||
"convert": { | ||
"process_id": "apply", | ||
"description": "Convert temperature from K to degree celsius", | ||
"arguments": { | ||
"data": {"from_node": "load"}, | ||
"process": { | ||
"process_graph": { | ||
"k_to_degC": { | ||
"process_id": "subtract", | ||
"arguments": { | ||
"x": {"from_parameter": "x"}, | ||
"y": 273.15 | ||
}, | ||
"result": true | ||
"process_graph": { | ||
"load": { | ||
"process_id": "load_collection", | ||
"description": "Load ERA5 monthly 2m air temperature from 1979 to 2019", | ||
"arguments": { | ||
"id": "ECMWF/ERA5/MONTHLY", | ||
"spatial_extent": null, | ||
"temporal_extent": ["1979-01-01","2020-01-01"], | ||
"bands": ["mean_2m_air_temperature"] | ||
} | ||
}, | ||
"convert": { | ||
"process_id": "apply", | ||
"description": "Convert temperature from K to degree celsius", | ||
"arguments": { | ||
"data": {"from_node": "load"}, | ||
"process": { | ||
"process_graph": { | ||
"k_to_degC": { | ||
"process_id": "subtract", | ||
"arguments": { | ||
"x": {"from_parameter": "x"}, | ||
"y": 273.15 | ||
}, | ||
"result": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"normals": { | ||
"process_id": "climatological_normal", | ||
"description": "Create the climatological period normals.", | ||
"arguments": { | ||
"data": {"from_node": "convert"}, | ||
"period": "monthly" | ||
} | ||
}, | ||
"anomaly": { | ||
"process_id": "anomaly", | ||
"description": "For each month in the time-series, calculate the anomaly", | ||
"arguments": { | ||
"data": {"from_node": "convert"}, | ||
"normals": {"from_node": "normals"}, | ||
"period": "monthly" | ||
} | ||
}, | ||
"reduce": { | ||
"process_id": "reduce_dimension", | ||
"description": "Reduce to first month - for visualization purposes only", | ||
"arguments": { | ||
"data": {"from_node": "anomaly"}, | ||
"reducer": { | ||
"process_graph": { | ||
"first": { | ||
"process_id": "first", | ||
"arguments": { | ||
"data": { | ||
"from_parameter": "data" | ||
} | ||
}, | ||
"result": true | ||
}, | ||
"normals": { | ||
"process_id": "climatological_normal", | ||
"description": "Create the climatological period normals.", | ||
"arguments": { | ||
"data": {"from_node": "convert"}, | ||
"period": "monthly" | ||
} | ||
}, | ||
"anomaly": { | ||
"process_id": "anomaly", | ||
"description": "For each month in the time-series, calculate the anomaly", | ||
"arguments": { | ||
"data": {"from_node": "convert"}, | ||
"normals": {"from_node": "normals"}, | ||
"period": "monthly" | ||
} | ||
}, | ||
"reduce": { | ||
"process_id": "reduce_dimension", | ||
"description": "Reduce to first month - for visualization purposes only", | ||
"arguments": { | ||
"data": {"from_node": "anomaly"}, | ||
"reducer": { | ||
"process_graph": { | ||
"first": { | ||
"process_id": "first", | ||
"arguments": { | ||
"data": { | ||
"from_parameter": "data" | ||
} | ||
}, | ||
"result": true | ||
} | ||
} | ||
} | ||
}, | ||
"dimension": "t" | ||
} | ||
}, | ||
"stretch": { | ||
"process_id": "apply", | ||
"description": "Stretch range from -1 / 1 to 0 / 255 for PNG visualization.", | ||
"arguments": { | ||
"data": {"from_node": "reduce"}, | ||
"process": { | ||
"process_graph": { | ||
"linear_scale_range": { | ||
"process_id": "linear_scale_range", | ||
"arguments": { | ||
"x": { | ||
"from_parameter": "x" | ||
}, | ||
"dimension": "t" | ||
} | ||
}, | ||
"stretch": { | ||
"process_id": "apply", | ||
"description": "Stretch range from -1 / 1 to 0 / 255 for PNG visualization.", | ||
"arguments": { | ||
"data": {"from_node": "reduce"}, | ||
"process": { | ||
"process_graph": { | ||
"linear_scale_range": { | ||
"process_id": "linear_scale_range", | ||
"arguments": { | ||
"x": { | ||
"from_parameter": "x" | ||
}, | ||
"inputMin": -10, | ||
"inputMax": 10, | ||
"outputMax": 255 | ||
}, | ||
"inputMin": -10, | ||
"inputMax": 10, | ||
"outputMax": 255 | ||
}, | ||
"result": true | ||
"result": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"save": { | ||
"process_id": "save_result", | ||
"arguments": { | ||
"data": { | ||
"from_node": "stretch" | ||
}, | ||
"format": "PNG", | ||
"options": { | ||
"palette": ["#2166AC","#4393C3","#92C5DE","#D1E5F0","#F7F7F7","#FDDBC7","#F4A582","#D6604D","#B2182B"] | ||
} | ||
}, | ||
"result": true | ||
"save": { | ||
"process_id": "save_result", | ||
"arguments": { | ||
"data": { | ||
"from_node": "stretch" | ||
}, | ||
"format": "PNG", | ||
"options": { | ||
"palette": ["#2166AC","#4393C3","#92C5DE","#D1E5F0","#F7F7F7","#FDDBC7","#F4A582","#D6604D","#B2182B"] | ||
} | ||
}, | ||
"result": true | ||
} | ||
} | ||
} |
Oops, something went wrong.