pyatran.output.Result¶
-
class
pyatran.output.Result(path)[source]¶ Reading SCIATRAN’s
DATA_OUTdirectory.The Result class reads output from SCIATRAN’s
DATA_OUTdirectory and stores the results in pandas data structures.Parameters: path : str
Path to the
DATA_OUTdirectory of the SCIATRAN run. This can be either an actual filesystem path to theDATA_OUTdirectory, or it can be the filename of a.zipfile containing theDATA_OUT(i.e., there has to be a folderDATA_OUTat the root of the.zipfile) directory.Notes
Creating an instance of the
Resultclass automatically reads all available information from path; i.e., no explicit calling of theread_*methods is necessary.Currently, only the following SCIATRAN output files can be read:
SCE_ABSORBER.OUTSCE_SUMMARY.OUTaer_abs.dataer_sca.datamf.datbamf_int.datblock_amf.datcld_abs.datcld_sca.datgas_abs.datheight.datintensity.datintensity_noring.datirradiance.datoutput_map.infprofiles_nd.datprofiles_vmr.datray_sca.datring.datslant_col.dattg_vod.datvod_all.datwf_*.dat
Methods
clear()copy()fromkeys($type, iterable[, value])Returns a new dict with keys from iterable and values equal to value. get(k[,d])items()keys()pop(k[,d])If key is not found, d is returned if given, otherwise KeyError is raised popitem()2-tuple; but raise KeyError if D is empty. read_SCE_ABSORBER()read_SCE_SUMMARY()read_amf(filename)read_block_amf()read_intensity([filename])read_irradiance()read_local_optical_parameters()read_output_map()read_profiles(qty)read_slant_col()read_tg_vod()read_vod_all()read_wf(fn)setdefault(k[,d])update([E, ]**F)If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k] values()Methods
__init__(path)Initialize self. clear()copy()fromkeys($type, iterable[, value])Returns a new dict with keys from iterable and values equal to value. get(k[,d])items()keys()pop(k[,d])If key is not found, d is returned if given, otherwise KeyError is raised popitem()2-tuple; but raise KeyError if D is empty. read_SCE_ABSORBER()read_SCE_SUMMARY()read_amf(filename)read_block_amf()read_intensity([filename])read_irradiance()read_local_optical_parameters()read_output_map()read_profiles(qty)read_slant_col()read_tg_vod()read_vod_all()read_wf(fn)setdefault(k[,d])update([E, ]**F)If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k] values()