Skip to content

Commit

Permalink
Add stemmus scope input data recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
BSchilperoort committed Jul 26, 2024
1 parent 6577542 commit 2a447c3
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
41 changes: 41 additions & 0 deletions recipes/STEMMUS_SCOPE_input.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# config (folder, login info etc goes to a ~/.zampy/config file)
name: "STEMMUS_SCOPE_input"

download:
time: ["2020-01-01", "2020-06-30"]
bbox: [60, 10, 50, 0] # NESW
datasets:
era5_land:
variables:
- air_temperature
- dewpoint_temperature
- soil_temperature
- soil_moisture
era5:
variables:
- total_precipitation
- surface_thermal_radiation_downwards
- surface_solar_radiation_downwards
- surface_pressure
- eastward_component_of_wind
- northward_component_of_wind
eth_canopy_height:
variables:
- height_of_vegetation
fapar_lai:
variables:
- leaf_area_index
land_cover:
variables:
- land_cover
prism_dem_90:
variables:
- elevation
cams:
variables:
- co2_concentration

convert:
convention: ALMA
frequency: 1H # outputs at 1 hour frequency. Pandas-like freq-keyword.
resolution: 0.25 # output resolution in degrees.
2 changes: 1 addition & 1 deletion src/zampy/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@click.command()
@click.argument("recipe", type=click.Path(exists=True, path_type=Path))
@click.option('--skip-download', is_flag=True)
@click.option("--skip-download", is_flag=True)
def run_recipe(recipe: Path, skip_download: bool) -> None:
"""Run the recipe using the CLI."""
click.echo(f"Executing recipe: {recipe}")
Expand Down

0 comments on commit 2a447c3

Please sign in to comment.