meta

This module holds classes that contian the metadata information for a raster data object.

BoundingCoordinates

class espatools.meta.BoundingCoordinates(**kwargs)[source]

Bases: properties.base.base.HasProperties

Required Properties:

  • east (Float): East line, a float
  • north (Float): North line, a float
  • south (Float): South line, a float
  • west (Float): West line, a float
east

east (Float) – East line, a float

north

north (Float) – North line, a float

south

south (Float) – South line, a float

west

west (Float) – West line, a float

Corner

class espatools.meta.Corner(**kwargs)[source]

Bases: properties.base.base.HasProperties

Required Properties:

  • latitude (Float): The latitude, a float in range [-90.0, 90.0]
  • location (String): The location, a unicode string
  • longitude (Float): The longitude, a float in range [-180.0, 180.0]
latitude

latitude (Float) – The latitude, a float in range [-90.0, 90.0]

location

location (String) – The location, a unicode string

longitude

longitude (Float) – The longitude, a float in range [-180.0, 180.0]

CornerPoint

class espatools.meta.CornerPoint(**kwargs)[source]

Bases: properties.base.base.HasProperties

Required Properties:

  • location (String): The location, a unicode string
  • x (Float): The X value, a float
  • y (Float): The Y value, a float
location

location (String) – The location, a unicode string

x

x (Float) – The X value, a float

y

y (Float) – The Y value, a float

Lum

class espatools.meta.Lum(**kwargs)[source]

Bases: properties.base.base.HasProperties

Required Properties:

  • bias (Float): The bias, a float
  • gain (Float): The gain, a float
bias

bias (Float) – The bias, a float

gain

gain (Float) – The gain, a float

PixelSize

class espatools.meta.PixelSize(**kwargs)[source]

Bases: properties.base.base.HasProperties

Required Properties:

  • units (String): The pixel size units, a unicode string
  • x (Float): The X size of the pixel, a float
  • y (Float): The Y size of the pixel, a float
units

units (String) – The pixel size units, a unicode string

x

x (Float) – The X size of the pixel, a float

y

y (Float) – The Y size of the pixel, a float

Projection

class espatools.meta.Projection(**kwargs)[source]

Bases: properties.base.base.HasProperties

Required Properties:

  • corner_point (a list of CornerPoint): The corner points, a list (each item is an instance of CornerPoint)
  • datum (String): The projection datum, a unicode string
  • grid_origin (String): The grid origin, a unicode string
  • projection (String): The coordinate projection, a unicode string
  • units (String): The projection units, a unicode string

Optional Properties:

  • albers_proj_params (Dictionary): The Albers projection parameters, a dictionary
  • ps_proj_params (Dictionary): The PS projection parameters, a dictionary
  • sin_proj_params (Dictionary): The Sin projection parameters, a dictionary
  • utm_proj_params (Dictionary): The UTM projection parameters, a dictionary
albers_proj_params

albers_proj_params (Dictionary) – The Albers projection parameters, a dictionary

corner_point

corner_point (a list of CornerPoint) – The corner points, a list (each item is an instance of CornerPoint)

datum

datum (String) – The projection datum, a unicode string

grid_origin

grid_origin (String) – The grid origin, a unicode string

projection

projection (String) – The coordinate projection, a unicode string

ps_proj_params

ps_proj_params (Dictionary) – The PS projection parameters, a dictionary

sin_proj_params

sin_proj_params (Dictionary) – The Sin projection parameters, a dictionary

units

units (String) – The projection units, a unicode string

utm_proj_params

utm_proj_params (Dictionary) – The UTM projection parameters, a dictionary

RasterMetaData

class espatools.meta.RasterMetaData(**kwargs)[source]

Bases: properties.base.base.HasProperties

An object to contain all the information for a single swath.

Required Properties:

  • bounding_coordinates (BoundingCoordinates): The bounding coordinates, an instance of BoundingCoordinates
  • corner (a list of Corner): The corner points, a list (each item is an instance of Corner)
  • data_provider (String): The data provider, a unicode string
  • instrument (String): The instrument on the satellite, a unicode string
  • orientation_angle (Float): The orientation angle, a float in range [-360.0, 360.0]
  • projection_information (Projection): The projection, an instance of Projection
  • satellite (String): The satellite from which data was aquired, a unicode string

Optional Properties:

  • acquisition_date (String): The date of acquisition, a unicode string
  • earth_sun_distance (Float): The earth-sun distance, a float
  • level1_production_date (String): Production date, a unicode string
  • lpgs_metadata_file (String): metadata file, a unicode string
  • product_id (String): Data product ID, a unicode string
  • scene_center_time (String): Center time, a unicode string
  • solar_angles (SolarAngle): The solar angles, an instance of SolarAngle
  • wrs (WRS): WRS, an instance of WRS
acquisition_date

acquisition_date (String) – The date of acquisition, a unicode string

bounding_coordinates

bounding_coordinates (BoundingCoordinates) – The bounding coordinates, an instance of BoundingCoordinates

corner

corner (a list of Corner) – The corner points, a list (each item is an instance of Corner)

data_provider

data_provider (String) – The data provider, a unicode string

earth_sun_distance

earth_sun_distance (Float) – The earth-sun distance, a float

instrument

instrument (String) – The instrument on the satellite, a unicode string

level1_production_date

level1_production_date (String) – Production date, a unicode string

lpgs_metadata_file

lpgs_metadata_file (String) – metadata file, a unicode string

orientation_angle

orientation_angle (Float) – The orientation angle, a float in range [-360.0, 360.0]

product_id

product_id (String) – Data product ID, a unicode string

projection_information

projection_information (Projection) – The projection, an instance of Projection

satellite

satellite (String) – The satellite from which data was aquired, a unicode string

scene_center_time

scene_center_time (String) – Center time, a unicode string

solar_angles

solar_angles (SolarAngle) – The solar angles, an instance of SolarAngle

wrs

wrs (WRS) – WRS, an instance of WRS

SolarAngle

class espatools.meta.SolarAngle(**kwargs)[source]

Bases: properties.base.base.HasProperties

Required Properties:

  • azimuth (Float): The azimuth, a float
  • units (String): The units, a unicode string
  • zenith (Float): The zenith, a float
azimuth

azimuth (Float) – The azimuth, a float

units

units (String) – The units, a unicode string

zenith

zenith (Float) – The zenith, a float

ThermalConst

class espatools.meta.ThermalConst(**kwargs)[source]

Bases: properties.base.base.HasProperties

Required Properties:

k1

k1 (Float) – K1, a float

k2

k2 (Float) – K2, a float

ValidRange

class espatools.meta.ValidRange(**kwargs)[source]

Bases: properties.base.base.HasProperties

Required Properties:

  • max (Float): Maximum of valid range, a float
  • min (Float): Minimum of valid range, a float
max

max (Float) – Maximum of valid range, a float

min

min (Float) – Minimum of valid range, a float

WRS

class espatools.meta.WRS(**kwargs)[source]

Bases: properties.base.base.HasProperties

Required Properties:

  • path (Integer): The WRS path, an integer
  • row (Integer): The WRS row, an integer
  • system (Integer): The system type, an integer
path

path (Integer) – The WRS path, an integer

row

row (Integer) – The WRS row, an integer

system

system (Integer) – The system type, an integer