Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More figures #2

Merged
merged 5 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ next-env.d.ts
/playwright/.cache/

# other
.anima
.anima

*/data*
105 changes: 101 additions & 4 deletions science/conf/base/catalog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ============== WINDSPEED ================
# ------------- WINDSPEED --------------

wind_speed_global_100km.raw:
type: kedro_datasets_experimental.netcdf.NetCDFDataset
Expand Down Expand Up @@ -26,10 +26,18 @@ wind_speed_global_10km.parts:
compress: zstd
filename_suffix: ".tif"

wind_speed_global_10km.video:
type: video.VideoDataset
filepath: data/03_primary/wind_speed_global_10km.mp4
fourcc: "h264"

wind_speed_global_100km.video:
type: video.VideoDataset
filepath: data/03_primary/wind_speed_global_100km.mp4
fourcc: "h264"


# ============== CLOUD COVER ================
# -------------- CLOUD COVER --------------


cloud_cover_10km.raw:
Expand Down Expand Up @@ -67,7 +75,8 @@ cloud_cover_100km.video:
type: video.VideoDataset
filepath: data/03_primary/cloud_cover_100km.mp4

# ============== PRECIPITATION ================

# -------------- PRECIPITATION --------------


total_precipitation_10km.raw:
Expand Down Expand Up @@ -103,4 +112,92 @@ total_precipitation_10km.video:

total_precipitation_100km.video:
type: video.VideoDataset
filepath: data/03_primary/tp_global_100km.mp4
filepath: data/03_primary/tp_global_100km.mp4


# -------------- TEMP --------------


temp_10km.raw:
type: kedro_datasets_experimental.netcdf.NetCDFDataset
filepath: data/01_raw/nextgems/tas_global_10km.nc

temp_10km.parts:
type: partitions.PartitionedDataset
path: data/02_intermediate/tas-10-parts
dataset:
type: kedro_datasets_experimental.rioxarray.GeoTIFFDataset
save_args:
compress: zstd
filename_suffix: ".tif"


temp_10km.video:
type: video.VideoDataset
filepath: data/03_primary/tas_10km.mp4


# -------------- SEA SURFACE TEMP --------------


sst_10km.raw:
type: kedro_datasets_experimental.netcdf.NetCDFDataset
filepath: data/01_raw/nextgems/sst_global_10km.nc

sst_10km.parts:
type: partitions.PartitionedDataset
path: data/02_intermediate/sst-10-parts
dataset:
type: kedro_datasets_experimental.rioxarray.GeoTIFFDataset
save_args:
compress: zstd
filename_suffix: ".tif"


sst_10km.video:
type: video.VideoDataset
filepath: data/03_primary/sst_10km.mp4


# ============= SCENARIOS ==============


plus2k.raw:
type: kedro_datasets_experimental.netcdf.NetCDFDataset
filepath: data/01_raw/destine/IFS_FESOM_storyline/latlon_new/2K/2018_07_29_T00_00_to_2018_08_09_T23_00_2t_europe.nc

# plus2k.parts:
# type: partitions.PartitionedDataset
# path: data/02_intermediate/plus2k
# dataset:
# type: kedro_datasets_experimental.rioxarray.GeoTIFFDataset
# save_args:
# compress: zstd
# filename_suffix: ".tif"

plus2k.video:
type: video.VideoDataset
filepath: data/03_primary/plus_2k_scenario.mp4


hist.raw:
type: kedro_datasets_experimental.netcdf.NetCDFDataset
filepath: data/01_raw/destine/IFS_FESOM_storyline/latlon_new/hist/2018_07_29_T00_00_to_2018_08_09_T23_00_2t_europe.nc

# hist.parts:
# type: partitions.PartitionedDataset
# path: data/02_intermediate/hist
# dataset:
# type: kedro_datasets_experimental.rioxarray.GeoTIFFDataset
# save_args:
# compress: zstd
# filename_suffix: ".tif"


hist.video:
type: video.VideoDataset
filepath: data/03_primary/hist_scenario.mp4

diff.video:
type: video.VideoDataset
filepath: data/03_primary/diff_video.mp4
61 changes: 50 additions & 11 deletions science/conf/base/parameters.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
hurricane_10km_render_params:
global_video_10:
cmap: "viridis"
scale: 1

global_video_100:
cmap: "viridis"
scale: 10

hurricane_10km_render_params:
cmap: "Blues_r"
scale: 4
bbox:
minx: -84.088
miny: 15.89
maxx: -55.88
maxy: 41.15
minx: -88.23
miny: 21.37
maxx: -51.77
maxy: 42.37

hurricane_100km_render_params:
cmap: "viridis"
Expand All @@ -17,13 +25,22 @@ hurricane_100km_render_params:
maxy: 41.15

amazonia_10km_render_params:
cmap: "Greens_r"
cmap: "viridis"
scale: 4
bbox:
minx: -67.53
miny: -8.55
maxx: -47.76
maxy: 8.64
minx: -79.72
miny: -16.60
maxx: -45.27
maxy: 7.672

temperature_10km_render_params:
cmap: "winter"
scale: 4
bbox:
minx: -12.1350
miny: 32.5146
maxx: 4.7930
maxy: 44.1825

amazonia_100km_render_params:
cmap: "Greens_r"
Expand All @@ -32,4 +49,26 @@ amazonia_100km_render_params:
minx: -67.53
miny: -8.55
maxx: -47.76
maxy: 8.64
maxy: 8.64


sst_10km_render_params:
cmap: "plasma"
scale: 4
bbox:
minx: -129
miny: -7
maxx: -93
maxy: 8.5

scenarios:
cmap: "winter"
scale: 2
fps: 20
vmin: 269.56
vmax: 324.11

diff_video:
cmap: "RdBu_r"
scale: 2
fps: 20
Loading