Skip to content

unable to read the correct input file using read_radx #1809

@MohitDahliya

Description

@MohitDahliya

"""
import pyart
radar = pyart.aux_io.read_radx("DLI241228031216-IMD-B.nc.1", radx_dir="/usr/local/lrose/bin", no_assemble=True)
radar.fields['Z']['data'].shape

(3600, 831)

import xarray as xr
radar = xr.open_dataset("DLI241228031216-IMD-B.nc.1")
radar.Z.shape

(360, 831)

"""

This code snippet shows that actually the radar file contains data from a single sweep or elevation, but when I am using read_radx to read the file, it is assembling all the sweep files corresponding to a time instant and producing the data from all the sweeps combined. Even after applying no_assemble=True, no change in the discrepancy has occurred. How can I ensure that read_radx reads only the data from the single sweep available in the input file provided, and do not try to produce the data from the combined 10 sweeps?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions