Skip to content

Commit

Permalink
Add capacity factor and fix video scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
BielStela committed Oct 30, 2024
1 parent a37ca18 commit a03db57
Show file tree
Hide file tree
Showing 7 changed files with 111 additions and 1,127 deletions.
20 changes: 20 additions & 0 deletions science/conf/base/catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,3 +219,23 @@ iberia_diff.video:
type: video.VideoDataset
filepath: data/03_primary/iberia_diff_video.mp4
fourcc: avc1

# ============= CAPACITY FACTOR ==============

capacity_factor_100.raw:
type: kedro_datasets_experimental.netcdf.NetCDFDataset
filepath: data/01_raw/nextgems/cf_global_100km.nc

capacity_factor_100.video:
type: video.VideoDataset
filepath: data/03_primary/capacity_factor_100km.mp4
fourcc: avc1

capacity_factor_10.raw:
type: kedro_datasets_experimental.netcdf.NetCDFDataset
filepath: data/01_raw/nextgems/cf_global_10km.nc

capacity_factor_10.video:
type: video.VideoDataset
filepath: data/03_primary/capacity_factor_10km.mp4
fourcc: avc1
20 changes: 17 additions & 3 deletions science/conf/base/parameters.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# ------- GLOBAL ----------
default:
cmap: "YlGn"
scale: 1
vmin: 0
vmax: 1

global_video_10:
cmap: "viridis"
Expand All @@ -16,7 +21,7 @@ global_video_100:

hurricane_10km_render_params:
cmap: "Blues_r"
scale: 1
scale: 4
vmin: 0
vmax: 0.99
bbox:
Expand All @@ -28,10 +33,12 @@ hurricane_10km_render_params:
cloud_cover_100km_global:
cmap: "Blues_r"
scale: 1
vmin: 0
vmax: 0.99

amazonia_10km_render_params:
cmap: "rain_custom"
scale: 1
scale: 4
vmin: 0
vmax: 0.1
bbox:
Expand All @@ -43,10 +50,14 @@ amazonia_10km_render_params:
total_precipitation_100km_global:
cmap: "rain_custom"
scale: 1
vmin: 0
vmax: 0.1

temperature_10km_render_params:
cmap: "inferno"
scale: 4
vmin: 277
vmax: 319
bbox:
minx: -12.1350
miny: 32.5146
Expand All @@ -56,6 +67,8 @@ temperature_10km_render_params:
temperature_100km_global:
cmap: "inferno"
scale: 1
vmin: 277
vmax: 319

sst_10km_render_params:
cmap: "thermal"
Expand All @@ -69,6 +82,8 @@ sst_10km_render_params:
sst_100km_global:
cmap: "thermal"
scale: 1
vmin: 292.329
vmax: 304.38

# ------ SCENARIOS ---------

Expand Down Expand Up @@ -96,4 +111,3 @@ observations:
miny: 33.843
maxx: 18.9029
maxy: 49.2697

Loading

0 comments on commit a03db57

Please sign in to comment.