:mod:`eggshell.nc.nc_fetch` =========================== .. py:module:: eggshell.nc.nc_fetch Module Contents --------------- .. data:: paths .. data:: LOGGER .. data:: _PRESSUREDATA_ :annotation: = ['NCEP_slp', 'NCEP_z1000', 'NCEP_z925', 'NCEP_z850', 'NCEP_z700', 'NCEP_z600', 'NCEP_z500', 'NCEP_z400', 'NCEP_z300', 'NCEP_z250', 'NCEP_z200', 'NCEP_z150', 'NCEP_z100', 'NCEP_z70', 'NCEP_z50', 'NCEP_z30', 'NCEP_z20', 'NCEP_z10', '20CRV2_prmsl', '20CRV2_z1000', '20CRV2_z950', '20CRV2_z900', '20CRV2_z850', '20CRV2_z800', '20CRV2_z750', '20CRV2_z700', '20CRV2_z650', '20CRV2_z600', '20CRV2_z550', '20CRV2_z500', '20CRV2_z450', '20CRV2_z400', '20CRV2_z350', '20CRV2_z300', '20CRV2_z250', '20CRV2_z200', '20CRV2_z150', '20CRV2_z100', '20CRV2_z70', '20CRV2_z50', '20CRV2_z30', '20CRV2_z20', '20CRV2_z10', '20CRV2c_prmsl', '20CRV2c_z1000', '20CRV2c_z950', '20CRV2c_z900', '20CRV2c_z850', '20CRV2c_z800', '20CRV2c_z750', '20CRV2c_z700', '20CRV2c_z650', '20CRV2c_z600', '20CRV2c_z550', '20CRV2c_z500', '20CRV2c_z450', '20CRV2c_z400', '20CRV2c_z350', '20CRV2c_z300', '20CRV2c_z250', '20CRV2c_z200', '20CRV2c_z150', '20CRV2c_z100', '20CRV2c_z70', '20CRV2c_z50', '20CRV2c_z30', '20CRV2c_z20', '20CRV2c_z10'] .. data:: _EOBSVARIABLES_ :annotation: = ['tg', 'tx', 'tn', 'rr'] .. function:: reanalyses(start=1948, end=None, variable='slp', dataset='NCEP', timres='day', getlevel=True) Fetches the reanalysis data (NCEP, 20CR or ERA_20C) to local file system :param start: int for start year to fetch source data :param end: int for end year to fetch source data (if None, current year will be the end) :param variable: variable name (default='slp'), geopotential height is given as e.g. z700 :param dataset: default='NCEP' :return list: list of path/files.nc .. function:: get_level(resource, level) .. function:: write_fileinfo(resource, filepath=False) write path and filenames to a text file :param ressource: list of files to be documented :param filepath: if True the absolute filepath is written out as well (default = False) :return txt: textfile with appropriate information