hestia_earth.utils.lookup.load_lookup

hestia_earth.utils.lookup.load_lookup(filepath, keep_in_memory=False)[source]

Import local lookup table as csv file into a numpy.recarray.

Parameters
  • filepath (str) – The path of csv file on the local file system.

  • keep_in_memory (bool) – Set to True if you want to store the file in memory for later use.

Returns

The numpy.recarray converted from the csv content.

Return type

numpy.recarray