CLIMATE-925 - CORDEX Config File Template
Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/3539aa2b Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/3539aa2b Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/3539aa2b Branch: refs/heads/master Commit: 3539aa2be6408140e33d82fb413089c62fcec70f Parents: 368e696 Author: Alex <ago...@users.noreply.github.com> Authored: Tue Sep 26 16:41:06 2017 -0700 Committer: Alex <ago...@users.noreply.github.com> Committed: Tue Sep 26 16:41:06 2017 -0700 ---------------------------------------------------------------------- RCMES/CORDEX/templates/CORDEX.yaml.template | 57 ++++++++++++++++++++++++ 1 file changed, 57 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/3539aa2b/RCMES/CORDEX/templates/CORDEX.yaml.template ---------------------------------------------------------------------- diff --git a/RCMES/CORDEX/templates/CORDEX.yaml.template b/RCMES/CORDEX/templates/CORDEX.yaml.template new file mode 100644 index 0000000..daf6ec5 --- /dev/null +++ b/RCMES/CORDEX/templates/CORDEX.yaml.template @@ -0,0 +1,57 @@ +{% set domain = models_info[0].domain %} +{% set instrument = obs_info.instrument %} +{% set variable = obs_info.variable %} +{% set basename = [variable, instrument, domain, season]|join('_') %} +workdir: {{ [output_dir, domain, instrument, variable, season]|join('/') }} +output_netcdf_filename: {{ basename }}.nc + +# (RCMES will temporally subset data between month_start and month_end. +# If average_each_year is True (False), seasonal mean in each year is (not) calculated and used for metrics calculation.) +time: + maximum_overlap_period: True + temporal_resolution: monthly +{% if season == "winter" %} + month_start: 12 + month_end: 2 +{% elif season == "summer" %} + month_start: 6 + month_end: 8 +{% else %} + month_start: 1 + month_end: 12 +{% endif %} + average_each_year: True + +space: + boundary_type: {{ domain[:3] }} + +regrid: + regrid_on_reference: True + +datasets: + - loader_name: local_split + name: {{ instrument }} + file_path: {{ obs_info.filename }} + variable_name: {{ variable }} +{% for model_info in models_info %} + - loader_name: local_split + name: {{ model_info.model }} + file_path: {{ model_info.filename }} + variable_name: {{ variable }} + lat_name: lat + lon_name: lon +{% endfor %} + +number_of_metrics_and_plots: 2 + +metrics1: Map_plot_bias_of_multiyear_climatology + +plots1: + file_name: {{ basename }}_bias + +metrics2: Taylor_diagram_spatial_pattern_of_multiyear_climatology + +plots2: + file_name: {{ basename }}_taylor + +use_subregions: False