src/pys5p/lv2_io.py
def __nc_data_as_xds(self, name, data_sel):
        """
        Read dataset from group PRODUCT using netCDF4

        Input: science product

        Return: xarray.DataArray
        """
        if name in self.fid['/target_product'].variables.keys():
            group = '/target_product'
        elif name in self.fid['/instrument'].variables.keys():
            group = '/instrument'
        else:
            raise ValueError('dataset {name} for found')

        return data_to_xr(self.get_dataset(name, data_sel),
                          dims=['scanline', 'ground_pixel'], name=name,
                          long_name=self.get_attr('long_name', name),
                          units=self.get_attr('units', name))

        Read dataset from group PRODUCT using netCDF4

        Input: science product

        Return: xarray.DataArray
        
Read dataset from group PRODUCT using netCDF4
Input: science product


Read dataset from group PRODUCT using netCDF4 Input : science product
def __nc_data_as_xds(self, name, data_sel):
        if name in self.fid['/target_product'].variables.keys():
            group = '/target_product'
        elif name in self.fid['/instrument'].variables.keys():
            group = '/instrument'
        else:
            raise ValueError('dataset {name} for found')
        return data_to_xr(self.get_dataset(name, data_sel),
                          dims=['scanline', 'ground_pixel'], name=name,
                          long_name=self.get_attr('long_name', name),
                          units=self.get_attr('units', name))
def __nc_data_as_xds ( self , name , data_sel ) : if name in self . fid [ '/target_product' ] . variables . keys ( ) : group = '/target_product' elif name in self . fid [ '/instrument' ] . variables . keys ( ) : group = '/instrument' else : raise ValueError ( 'dataset {name} for found' ) return data_to_xr ( self . get_dataset ( name , data_sel ) , dims = [ 'scanline' , 'ground_pixel' ] , name = name , long_name = self . get_attr ( 'long_name' , name ) , units = self . get_attr ( 'units' , name ) )
Read dataset from group PRODUCT using netCDF4
Input: science product
Read dataset from group PRODUCT using netCDF4 Input : science product
"""
        Read dataset from group PRODUCT using netCDF4

        Input: science product

        Return: xarray.DataArray
        """
self
name
data_sel