winlooki.blogg.se

Cplot files
Cplot files












cplot files

This is a class for reading HDFEOS-2 files. attributes ) -> GROUP = INVENTORYMETADATA END_GROUP = INVENTORYMETADATA END ccplot.hdfeos class HDFEOS(filename, encoding=’utf-8’, mode=None) keys ())) -> Profile_Time Profile_UTC_Time Profile_ID Land_Water_Mask Subsolar_Longitude metadata Attributesįile and dataset attributes are accessible as HDF.attributes andĭataset.attributes, respectively: print ( dict ( lat. This instance is turned into a numpy array on index subsetting: type ( lat ) -> Ī list of datasets can retrieved with HDF.keys(): print ( ' \n '. When accessing datasets, an instance of Dataset class is returned. Reading datasets and Vdataĭatasets and Vdata are accessible as dictionary items of the HDF class instance: lat = product print ( lat ) -> metadata = product print ( metadata ) -> L1_LIDAR_Science Interface: with HDF ( 'CAL_LID_' ) as product : # Work with the file. The file can be closed with HDF.close(), or by using the Context Manager

cplot files

from ccplot.hdf import HDF product = HDF ( 'CAL_LID_' ) To binary if the type of filename is bytes and text if the type is str. If the file should be opened in a binary or text mode: None (automatic),īinary (binary mode) or text (text mode). The constructor accepts a filename, text encoding and mode. Ccplot CloudSat and CALIPSO plotting tool Home Features Installation Documentation API ccbrowse Data sources API reference ccplot.hdf class HDF(filename, encoding=’utf-8’, mode=None)














Cplot files