wradlib.io.iris.IrisCartesianProductFile#

class wradlib.io.iris.IrisCartesianProductFile(irisfile, **kwargs)[source]#

Bases: IrisRecordFile

Class for retrieving data from Sigmet IRIS Cartesian Product files.

product_identifier = ['MAX', 'TOPS', 'HMAX', 'BASE', 'THICK', 'PPI', 'RHI', 'CAPPI', 'RAINN', 'RAIN1', 'CROSS', 'SHEAR', 'SRI', 'RTI', 'VIL', 'LAYER', 'BEAM', 'MLHGT']#
property data#
fix_ext_header(ext)[source]#
get_extended_header()[source]#
get_image(header)[source]#

Retrieve cartesian image.

Parameters

header (dict) – header dictionary

Returns

data (numpy.ndarray) – 3D array of cartesian data

get_data()[source]#

Retrieves cartesian data from file.

decode_data(data, prod)[source]#

Decode data according given prod-dict.

Parameters
  • data (numpy.ndarray) – data to decode

  • prod (dict) – dictionary holding decoding information

Returns

data (numpy.ndarray) – decoded data

array_from_record(words, width, dtype)

Retrieve array from current record.

bytes_from_record(words, width)

Retrieve bytes from current record.

check_identifier()

check_product_identifier()

close()

decode_data(data, prod)

Decode data according given prod-dict.

fix_ext_header(ext)

get_data()

Retrieves cartesian data from file.

get_extended_header()

get_header(header)

get_image(header)

Retrieve cartesian image.

get_product_specific_info(rawdata)

Retrieves product specific info

get_product_type_code()

Returns product type code.

init_header([rawdata])

init_next_record()

Get next record from file.

init_record(recnum)

Initialize record using given number.

read_from_file(size)

Read from file.

read_from_record(words, dtype)

Read from file.

data

data_type

Returns product configuration data type.

debug

fh

filename

filepos

identifier

len

loaddata

Returns loaddata switch.

name

nbins

Returns number of bins.

product_hdr

Returns ingest_header dictionary.

product_identifier

product_type

Returns product type.

product_type_code

Returns product type code.

product_type_dict

Returns product type dictionary.

rawdata

Returns rawdata switch.

record_number

Returns current record number.

rh

Returns current record object.

structure

structure_format

structure_identifier

structure_size