HIRSKLM

class typhon.datasets.tovs.HIRSKLM(*args, **kwargs)[source]
__init__(*args, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(*args, **kwargs) Initialize self.
as_xarray_dataset(M[, skip_dimensions, …]) Convert structured ndarray to xarray dataset
calc_time_since_last_calib(M) 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) Count scanlines since last calibration.
find_dir_for_time(dt) 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.
get_info_for_granule(p) Return dict (re.fullmatch) for granule, based on re
get_iwt(header, elem) Get temperature of internal warm target
get_mandatory_fields()
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.
get_path_format_variables() What extra format variables are needed in find_granules?
get_pos(scanlines) Get lat-lon from scanlines.
get_subdir_resolution() Return the resolution for the subdir precision.
get_temp(header, elem, anwrd) Get temperatures from header, element, anwrd
get_time_from_granule_contents(p) 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

aliases
basedir
concat_coor
count_end
count_start
counts_offset
datefields
default_orbit_filters
dist_space_iwct
end_date
filter_calibcounts
filter_prttemps
flag_fields
format_definition_file
granule_cache_file
granule_duration
granules_firstline_db
granules_firstline_file
mandatory_fields
max_valid_time_ptp
maxsize
my_pseudo_fields
n_calibchannels
n_channels
n_minorframes
n_perline
n_wordperframe
name
re
read_returns
refields
related
satellites
satname
scantype_fieldname
section
srf_backend_f
srf_backend_response
srf_dir
start_date
subdir
temperature_fields
time_field
typ_Earth
typ_iwt
typ_space
unique_fields
valid_field_values
views