Avoid crash in fixes for time-independent CORDEX data#3032
Avoid crash in fixes for time-independent CORDEX data#3032bouweandela wants to merge 2 commits intomainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3032 +/- ##
=======================================
Coverage 96.15% 96.15%
=======================================
Files 270 270
Lines 15805 15807 +2
=======================================
+ Hits 15197 15199 +2
Misses 608 608 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@ghossh Here is a recipe to test that this works: documentation:
title: |
Example recipe that loads CORDEX-CMIP5 datasets.
description: |
This is an example recipe that loads CORDEX-CMIP5 datasets.
It computes the climatology for surface temperature (ts).
authors:
- loosveldt-tomas_saskia
- andela_bouwe
maintainer:
- loosveldt-tomas_saskia
preprocessors:
ts_pp:
custom_order: true
monthly_statistics:
operator: mean
climate_statistics:
period: full
operator: mean
mask_landsea:
mask_out: sea
datasets:
- project: CORDEX
domain: EUR-11
dataset: CCLM4-8-17
driver: CNRM-CERFACS-CNRM-CM5
ensemble: r1i1p1
institute: CLMcom
rcm_version: v1
mip: day
supplementary_variables:
- short_name: sftlf
mip: fx
ensemble: r0i0p0
diagnostics:
bias:
variables:
ts:
short_name: ts
mip: day
exp: historical
timerange: 2003/2005
preprocessor: ts_pp
scripts:
plot:
plot_folder: '{plot_dir}'
plot_filename: '{plot_type}_{real_name}_{alias}_{mip}'
facet_used_for_labels: 'alias'
script: monitor/multi_datasets.py
plots:
map:
common_cbar: true
fontsize: 10
show_stats: false
plot_kwargs_bias:
levels: [-10.0, -7.5, -5.0, -2.5, 0.0, 2.5, 5.0, 7.5, 10.0]
x_pos_stats_avg: 0.5
x_pos_stats_bias: 0.5You can save it to a file, e.g. |
|
Hi @bouweandela , where do you have this dataset? |
|
Locally, I ran this recipe, and it downloaded the data, and it worked perfectly. |


Description
Closes #2843
Before you get started
Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.
To help with the number pull requests: