You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Kim, Jinwon (JIRA)" <ji...@apache.org> on 2015/09/25 22:10:04 UTC

[jira] [Commented] (ATLAS-191) Problems in running the new OCW with a config file

    [ https://issues.apache.org/jira/browse/ATLAS-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14908597#comment-14908597 ] 

Kim, Jinwon commented on ATLAS-191:
-----------------------------------

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
------

> Problems in running the new OCW with a config file
> --------------------------------------------------
>
>                 Key: ATLAS-191
>                 URL: https://issues.apache.org/jira/browse/ATLAS-191
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Kim, Jinwon
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)