smdc_perftests.datasets package

Submodules

smdc_perftests.datasets.EQUI_7 module

Dataset Reader for EQUI-7 data Created on Mon Jun 8 17:30:19 2015

class smdc_perftests.datasets.EQUI_7.EQUI_7(fname, variables=None, avg_var=None, time_var='time', lat_var='x', lon_var='y')[source]

Bases: smdc_perftests.datasets.esa_cci.ESACCI_netcdf

Methods

smdc_perftests.datasets.ascat module

Module contains the Classes for reading ASCAT data Created on Fri Mar 27 15:12:18 2015

@author: Christoph.Paulik@geo.tuwien.ac.at

class smdc_perftests.datasets.ascat.ASCAT_netcdf(fname, variables=None, avg_var=None, time_var='time', gpi_var='gpis_correct', cell_var='cells_correct', get_exact_time=False)[source]

Bases: object

Class for reading ASCAT data from netCDF files

Caches the following: - time variable - keeps the dataset open as long as the instance exists

Methods

get_avg_image(date_start[, date_end, cellID]) Reads image from dataset, takes the average if more than one value is in the result array.
get_data(date_start, date_end[, cellID]) Reads date cube from dataset
get_timeseries(locationid[, date_start, ...])
Parameters:
get_avg_image(date_start, date_end=None, cellID=None)[source]

Reads image from dataset, takes the average if more than one value is in the result array.

Parameters:

date_start: datetime

start date of the image to get. If only one date is given then the whole day of this date is read

date_end: datetime, optional

end date of the averaged image to get

cellID: int, optional

cell id to which the image should be limited, for ESA CCI this is not defined at the moment.

get_data(date_start, date_end, cellID=None)[source]

Reads date cube from dataset

Parameters:

date_start: datetime

start date of the image to get. If only one date is given then the whole day of this date is read

date_end: datetime

end date of the averaged image to get

cellID: int

cell id to which the image should be limited, for ESA CCI this is not defined at the moment.

get_timeseries(locationid, date_start=None, date_end=None)[source]
Parameters:

locationid: int

location id as lat_index * row_length + lon_index

date_start: datetime, optional

start date of the time series

date_end: datetime, optional

end date of the time series

Returns:

ts : dict

smdc_perftests.datasets.esa_cci module

Module contains the Class for reading ESA CCI data in netCDF Format Created on Fri Mar 27 15:12:18 2015

@author: Christoph.Paulik@geo.tuwien.ac.at

class smdc_perftests.datasets.esa_cci.ESACCI_netcdf(fname, variables=None, avg_var=None, time_var='time', lat_var='lat', lon_var='lon')[source]

Bases: object

Class for reading ESA CCI data from netCDF files

Caches the following: - time variable - keeps the dataset open as long as the instance exists

Methods

get_avg_image(date_start[, date_end, cellID]) Reads image from dataset, takes the average if more than one value is in the result array.
get_data(date_start, date_end[, cellID]) Reads date cube from dataset
get_timeseries(locationid[, date_start, ...])
Parameters:
get_avg_image(date_start, date_end=None, cellID=None)[source]

Reads image from dataset, takes the average if more than one value is in the result array.

Parameters:

date_start: datetime

start date of the image to get. If only one date is given then the whole day of this date is read

date_end: datetime, optional

end date of the averaged image to get

cellID: int, optional

cell id to which the image should be limited, for ESA CCI this is not defined at the moment.

get_data(date_start, date_end, cellID=1)[source]

Reads date cube from dataset

Parameters:

date_start: datetime

start date of the image to get. If only one date is given then the whole day of this date is read

date_end: datetime

end date of the averaged image to get

cellID: int

cell id to which the image should be limited, for ESA CCI this is not defined at the moment.

get_timeseries(locationid, date_start=None, date_end=None)[source]
Parameters:

locationid: int

location id as lat_index * row_length + lon_index

date_start: datetime, optional

start date of the time series

date_end: datetime, optional

end date of the time series

Returns:

ts : dict

Module contents