malleefowl.esgf.search

Module Contents

malleefowl.esgf.search.LOGGER
malleefowl.esgf.search.date_from_filename(filename)

Example cordex: tas_EUR-44i_ECMWF-ERAINT_evaluation_r1i1p1_HMS-ALADIN52_v1_mon_200101-200812.nc

malleefowl.esgf.search.variable_filter(constraints, variables)

return True if variable fulfills contraints

malleefowl.esgf.search.temporal_filter(filename, start_date=None, end_date=None)

return True if file is in timerange start/end

class malleefowl.esgf.search.ESGSearch(url='http://localhost:8081/esg-search', distrib=False, replica=False, latest=True, monitor=None)

Bases:object

wrapper for esg search.

TODO: bbox constraint for datasets

show_status(self, message, progress)
search(self, constraints=[('project', 'CORDEX')], query=None, start=None, end=None, limit=1, offset=0, search_type='Dataset', temporal=False)
_index(self, datasets, limit, offset)
_file_context(self, dataset)
_aggregation_context(self, dataset)
threader(self)
_file_search_job(self, f_ctx, start_date, end_date)