nsrdb.albedo.albedo.ModisClipper

class ModisClipper(modis, ims)[source]

Bases: object

Clip MODIS data to extent of valid IMS data. This prevents assigning IMS values to MODIS outside of the IMS extents, and speeds NN mapping.

modis_idx

2D indices of MODIS values w/n IMS extent

Type:

2D numpy boolean array

modis_clip

MODIS data clipped to IMS extent

Type:

2D numpy int16

mlat_clip

MODIS latitudes clipped to IMS extent

Type:

1D numpy float32

mlon_clip

MODIS longigutes clipped to IMS extent

Type:

1D numpy float32

Parameters:
  • modis (ModisDay instance) – MODIS data to clip

  • ims (ImsDay instance) – IMS data to clip MODIS extent to

Methods