HIRS3
- class typhon.datasets.tovs.HIRS3(name=None, **kwargs)[source]
- __init__(*args, **kwargs)
Methods
__init__(*args, **kwargs)as_xarray_dataset(M[, skip_dimensions, ...])Convert structured ndarray to xarray dataset
calc_time_since_last_calib(M[, D, H, fn])Calculate time since last calibration.
calibrate(cc, counts)Apply the standard calibration from NOAA KLM User's Guide.
check_parity(counts)Verify parity for counts
combine(my_data, other_obj[, other_data, ...])Combine with data from other dataset.
count_lines_since_last_calib(M[, D, H, fn])Count scanlines since last calibration.
Find the directory containing granules/measurements at (date)time
find_granules([dt_start, dt_end, ...])Yield all granules/measurementfiles in period
find_granules_sorted([dt_start, dt_end, ...])Yield all granules, sorted by times.
find_most_recent_granule_before(instant, ...)Find granule covering instant
flagscore(M)Calculate "flag score"; higher is worse.
get_additional_field(M, fld)Get additional field.
get_cc(scanlines)Extract calibration coefficients from scanlines.
get_dataname(header[, robust])Extract dataname from header.
get_definition_from_PDF(path_to_pdf)Get HIRS definition from NWPSAF PDF.
get_dtypes(f)Get dtypes for file.
Return dict (re.fullmatch) for granule, based on re
get_iwt(header, elem)Get temperature of internal warm target
get_mask_from_flags(header, lines[, max_flagged])Set mask in lines, based on header and lines info
get_other(scanlines)Get other information from scanlines.
What extra format variables are needed in find_granules?
get_pos(scanlines)Get lat-lon from scanlines.
Return the resolution for the subdir precision.
get_temp(header, elem, anwrd)Get temperatures from header, element, anwrd
Get datetime objects for beginning and end of granule
get_times_for_granule(p, **kwargs)For granule stored in path, get start and end times.
get_wn_c1_c2(header)Read central wavenumber, c1, and c2 from header
id2name(satid)Translate satellite id to satellite name.
id2no(satid)Translate satellite id to satellite number.
iterate_subdirs(d_start, d_end, **extra)Iterate through all subdirs in dataset.
rad2bt(rad_wn, wn, c1, c2)Apply the standard radiance-to-BT conversion from NOAA KLM User's Guide.
read([f, fields, pseudo_fields])Read granule in file and do some other fixes
read_cpids(path)Read calibration parameters input data sets (CPIDS)
read_period([start, end, onerror, fields, ...])Read all granules between start and end, in bulk.
seekhead(f)Seek open file to header position.
setlocal()Set local attributes, from config or otherwise.
verify_mandatory_fields(extra)Attributes
aliasesbasedirchannel_orderconcat_coorcount_endcount_startcounts_offsetdatefieldsdefault_orbit_filtersdist_space_iwctend_datefilter_calibcountsfilter_prttempsflag_fieldsformat_definition_filegranule_cache_filegranule_durationgranules_firstline_dbgranules_firstline_fileheader_dtypeline_dtypemandatory_fieldsmax_valid_time_ptpmaxsizemy_pseudo_fieldsn_calibchannelsn_channelsn_minorframesn_perlinen_wordperframenamepdf_definition_pagesreread_returnsrefieldsrelatedsatellitessatnamescantype_fieldnamesectionsrf_backend_fsrf_backend_responsesrf_dirsrf_rttovstart_datesubdirtemperature_fieldstime_fieldtyp_Earthtyp_iwttyp_spaceunique_fieldsvalid_field_valuesdict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2).
versionviews