load_location_from_filepath#

load_location_from_filepath(rel_filepath, check_constraints=None)[source]#

Loads location data object from provided relative filepath where the file path is relative to defaults.settings.datadir.

Parameters:

rel_filepath (str) – relative file path for the location data

Returns:

The json object with location data.

Return type:

json