You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by "Mattmann, Chris A (3980)" <ch...@jpl.nasa.gov> on 2015/09/28 06:41:03 UTC

Re:

FYI 

Sent from my iPhone

> On Sep 27, 2015, at 11:16 PM, Kim, Jinwon <jk...@atmos.ucla.edu> wrote:
> 
> I've been trying to run the new OCW with a config file and am receiving errors like below. FYI, the yaml file works with Kyo's branch and looks equivalent to the samples provided with the new OCW package.
> 
> —
> /Users/jinwonki> python run_RCMES.py dscale_wus_prec-local.yaml
> Reading the configuration file dscale_wus_prec-local.yaml
> Loading observation dataset:
> {'variable': 'pr', 'path': '/Volumes/rcmes2t/obsData/TRMM/mon/prmo_trmm_1998-2009.nc', 'data_source': 'local', 'data_name': 'TRMM'}
> Loading model datasets:
> {'variable': 'pr', 'path': '/Volumes/rcmes2t/mdlData/downscaling/lds_grd/prmo*.nc', 'data_source': 'local'}
> Traceback (most recent call last):
> File "run_RCMES.py", line 66, in <module>
> variable_name =model_data_info['variable'])
> TypeError: load_multiple_files() got an unexpected keyword argument 'file_path'
> /Users/jinwonki> 
> ------
> The yaml file I use is:
> workdir: /Volumes/rcmes2t/rcmet/cases/dscale/work/
> output_netcdf_filename: downscale_prec_NDJFM_2000-2004.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: False
> start_time: 2000-01-01
> end_time: 2004-12-31
> temporal_resolution: monthly
> month_start: 11
> month_end: 3
> average_each_year: True
> space:
> min_lat: 25.063
> max_lat: 49.063
> min_lon: -124.938
> max_lon: -115.938
> regrid:
> regrid_on_reference: False
> regrid_dlat: 0.125
> regrid_dlon: 0.125
> datasets:
> reference:
> data_source: local
> data_name: TRMM
> path: /Volumes/rcmes2t/obsData/TRMM/mon/prmo_trmm_1998-2009.nc
> #data_name: LDAS
> #path: /Volumes/rcmes2t/obsData/nldas/prmo_lds_1999-2010.nc
> #data_name: PRISM
> #path: /Volumes/rcmes2t/obsData/prism/lds_grd/prmo_prz-lds_1999-2007.nc
> variable: pr
> targets:
> data_source: local
> #path: /Volumes/rcmes2t/mdlData/downscaling/wrf_grd/prmo*.nc
> path: /Volumes/rcmes2t/mdlData/downscaling/lds_grd/prmo*.nc
> variable: pr
> number_of_metrics_and_plots: 2
> metrics1: Map_plot_bias_of_multiyear_climatology
> plots1:
> file_name: narccap_prec_NDJFM_mean_bias_to_trmm
> subplots_array: !!python/tuple [3,3]
> metrics2: Taylor_diagram_spatial_pattern_of_multiyear_climatology
> plots2:
> file_name: narccap_prec_NDJFM_mean_taylor_diagram_to_trmm
> use_subregions: False
> ------
> 
> 
> -----------------------------------------------------------------
> Jinwon Kim
> Joint Institute for Regional Earth System Science and Engineering and Dept. Atmospheric and Oceanic Sciences
> University of California, Los Angeles
> 607 Charles E Young Drive East, Young Hall, Room 4242, Los Angeles, CA 90095-7228, USA
> jkim@atmos.ucla.edu; 310-206-2828