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

Error reading OZC files #41

Open
meteoswiss-mdr opened this issue Jul 17, 2020 · 0 comments
Open

Error reading OZC files #41

meteoswiss-mdr opened this issue Jul 17, 2020 · 0 comments
Labels

Comments

@meteoswiss-mdr
Copy link
Owner

meteoswiss-mdr commented Jul 17, 2020

Likely it is only in the Python reader version

  • master file: OZC172131700VL.860
    Traceback (most recent call last):
    File "main_process_data.py", line 175, in
    main()
    File "main_process_data.py", line 141, in main
    PROFILE_MULTIPROCESSING=args.PROFILE_MULTIPROCESSING)
    File "/users/jfigui/.local/lib/python3.7/site-packages/pyrad_mch-0.4.4-py3.7.egg/pyrad/flow/flow_control.py", line 229, in main
    num_radars=datacfg['NumRadars'])
    File "/users/jfigui/.local/lib/python3.7/site-packages/pyrad_mch-0.4.4-py3.7.egg/pyrad/flow/flow_aux.py", line 133, in wrapper
    return func(*args, **kwargs)
    File "/users/jfigui/.local/lib/python3.7/site-packages/pyrad_mch-0.4.4-py3.7.egg/pyrad/flow/flow_aux.py", line 714, in _get_radars_data
    get_data(master_voltime, datatypesdescr_list[0], datacfg))
    File "/users/jfigui/.local/lib/python3.7/site-packages/pyrad_mch-0.4.4-py3.7.egg/pyrad/io/read_data_radar.py", line 390, in get_data
    voltime, datatype_rad4alpgrid, cfg, ind_rad=ind_rad)
    File "/users/jfigui/.local/lib/python3.7/site-packages/pyrad_mch-0.4.4-py3.7.egg/pyrad/io/read_data_radar.py", line 2461, in merge_fields_rad4alp_grid
    filename_prod, reader=cfg['metranet_read_lib'])
    File "/users/jfigui/.local/lib/python3.7/site-packages/pyart/aux_io/metranet_cartesian_reader.py", line 111, in read_cartesian_metranet
    filename, physic_value=True, masked_array=True)
    File "/users/jfigui/.local/lib/python3.7/site-packages/pyart/aux_io/metranet_python.py", line 603, in read_product
    prd_data, (int(prd_header['row']), int(prd_header['column'])))
    File "<array_function internals>", line 6, in reshape
    File "/store/msrad/utils/anaconda3-pyrad/envs/pyrad/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 301, in reshape
    return _wrapfunc(a, 'reshape', newshape, order=order)
    File "/store/msrad/utils/anaconda3-pyrad/envs/pyrad/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 61, in _wrapfunc
    return bound(*args, **kwds)
    ValueError: cannot reshape array of size 267282 into shape (640,710)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant