Errors
- exception mwr_raw2l1.errors.CorruptRectype[source]
Bases:
WrongInputFormatRaised if record type cannot be interpreted, e.g. if not integer
- exception mwr_raw2l1.errors.DimensionError(dims_required, var, n_dims_var)[source]
Bases:
MWRErrorRaised if specified dimensions do not match variable dimension
- exception mwr_raw2l1.errors.DimensionMismatch[source]
Bases:
MWRDataErrorRaised if data dimensions do not match
- exception mwr_raw2l1.errors.EmptyLineError[source]
Bases:
WrongInputFormatRaised if trying to do operations on an empty csv line
- exception mwr_raw2l1.errors.FileFormatError[source]
Bases:
MWRFileErrorRaised if the data in the input file do not correspond to the expected format
- exception mwr_raw2l1.errors.FileTooLong[source]
Bases:
MWRFileErrorRaised if file seems too long, e.g. if binary stream is not entirely consumed after reading is finished
- exception mwr_raw2l1.errors.FileTooShort[source]
Bases:
MWRFileErrorRaised if file seems too short, e.g. if parameter n_meas > rest of buffer
- exception mwr_raw2l1.errors.FilenameError[source]
Bases:
MWRFileErrorRaised if the filename does not correspond to the expected pattern
- exception mwr_raw2l1.errors.MWRConfigError[source]
Bases:
MWRErrorRaised if something with the configuration file is wrong
- exception mwr_raw2l1.errors.MWRDataError[source]
Bases:
MWRErrorBase exception if some feature of data triggers and error in a function
- exception mwr_raw2l1.errors.MWRInputError[source]
Bases:
MWRErrorBase exception for calling of MWR reader/helper function or generating measurement from it
- exception mwr_raw2l1.errors.MWROutputError[source]
Bases:
MWRErrorRaised when something with the output file goes wrong
- exception mwr_raw2l1.errors.MWRTestError[source]
Bases:
MWRErrorRaised if something goes wrong during set up or clean up of testing
- exception mwr_raw2l1.errors.MissingConfig[source]
Bases:
MWRConfigErrorRaised if a mandatory entry of the config file is missing
- exception mwr_raw2l1.errors.MissingData[source]
Bases:
MWRFileErrorRaised if no observation data is found in file
- exception mwr_raw2l1.errors.MissingDataSource[source]
Bases:
MWRInputErrorRaised if a mandatory data source for creation of Measurement is missing in input
- exception mwr_raw2l1.errors.MissingHeader[source]
Bases:
MWRFileErrorRaised if a required header or column header has not been found an ASCII input file
- exception mwr_raw2l1.errors.MissingInputArgument[source]
Bases:
MWRInputErrorRaised if a required input argument to a function or class initiation is missing
- exception mwr_raw2l1.errors.MissingTimeInput[source]
Bases:
MWRInputErrorRaised if time is missing in an input file but is required by the reader
- exception mwr_raw2l1.errors.MissingVariable[source]
Bases:
MWRFileErrorRaised if file seems not to contain a mandatory variable. Might be due to a modified header in the input file
- exception mwr_raw2l1.errors.OutputDimensionError[source]
Bases:
MWROutputErrorRaised if requested output dimensions do not match data
- exception mwr_raw2l1.errors.TimeMismatch[source]
Bases:
MWRDataErrorRaised if time period covered by different data sources does not match
- exception mwr_raw2l1.errors.TimerefError[source]
Bases:
MWRErrorRaised if time reference is local but UTC is required
- exception mwr_raw2l1.errors.UnknownFileType[source]
Bases:
MWRFileErrorRaised if the filetype of the datafile is not in the known range of file ID types
- exception mwr_raw2l1.errors.UnknownFlagValue[source]
Bases:
MWRInputErrorRaised if the value of a flag in the input files does not correspond to the range of known values
- exception mwr_raw2l1.errors.UnknownFrequencyBand[source]
Bases:
MWRDataErrorRaised if the frequencies of the data cannot be attributed to a band expected for the retrieval of T or q
- exception mwr_raw2l1.errors.UnknownManufacturer[source]
Bases:
MWRInputErrorRaised if the manufacturer specified in Measurement is not known
- exception mwr_raw2l1.errors.UnknownRecordType[source]
Bases:
MWRFileErrorRaised if Radiometrics file contains a record type number that is not known, i.e. can’t be matched with header
- exception mwr_raw2l1.errors.WrongFileType[source]
Bases:
MWRFileErrorRaised if the filetype does not match with the chosen reader
- exception mwr_raw2l1.errors.WrongInputFormat[source]
Bases:
MWRInputErrorRaised if format of input to a function or class does not correspond to expectations