maps.data

Module Contents

Functions

load(source[, data_type])

Load an earthkit.maps auxilliary data file.

remote_shp(namespace, name, url)

Attributes

READERS

exception maps.data.AmbiguousDataError

Bases: Exception

Common base class for all non-exit exceptions.

class args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception maps.data.DataNotFoundError

Bases: FileNotFoundError

File not found.

class args
class characters_written
class errno

POSIX exception code

class filename

exception filename

class filename2

second exception filename

class strerror

exception strerror

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

maps.data.READERS
maps.data.load(source, data_type=None)

Load an earthkit.maps auxilliary data file.

Parameters:
  • source (str) – The name of a file (with or without extension) found within magpye/data.

  • data_type (str) – If applicable, the name of the subdirectory withing magpye/data in which the auxilliary file will be found.

maps.data.remote_shp(namespace, name, url)