sup3r.preprocessing.feature_handling.LatLonNC

class LatLonNC[source]

Bases: object

Lat Lon feature class with compute method

Methods

compute(file_paths, raster_index)

Get lats and lons

static compute(file_paths, raster_index)[source]

Get lats and lons

Parameters:
  • file_paths (list) – path to data file

  • raster_index (list) – List of slices for raster

Returns:

ndarray – lat lon array (spatial_1, spatial_2, 2)