nn_reproj_with_index

nawdex_analysis.io.reproj.nn_reproj_with_index(dset, ind, vnames='all', apply_mask=True, Nan=0)

Reprojects data field intpo Meteosat SEVIRI projection.

Parameters:
  • dset (dict of numpy arrays) – set of fields that should be reprojected
  • ind (numpy array) – interpolation index that maps the field in dset into SEVIRI grid
  • vnames (string of list of strings, optional, default = 'all') – list of variable names to be interpolated
  • apply_mask (bool, optional, default = True) – switch if masking with domain mask should be applied
  • Nan (float) – value inserted for positions with mask == False
Returns:

dset_inter – set of fields that have been interpolated onto SEVIRI grid

Return type:

dict of numpy arrays