geopyv.io

Module Contents

Functions

load([filename])

Function to load a geopyv data object into the workspace. If no filename

save(object[, filename])

Function to save data from a geopyv object. If no filename is

geopyv.io.load(filename=None)
Function to load a geopyv data object into the workspace. If no filename
is provided, the host OS default file browser will be used to allow the

user to select a geopyv data file with .pyv extension.

Parameters:

filename (str, optional) – Name of file containing a geopy data object.

Returns:

object – The geopyv data object loaded.

Return type:

geopyv.object

Note

  • Any .pyv object can be loaded with this function.

  • The data object will be loaded into a ObjectResults instance where Object represents the instance type that generated the data. For example, data from a Subset instance will be loaded into a SubsetResults instance.

geopyv.io.save(object, filename=None)

Function to save data from a geopyv object. If no filename is provided, the host OS default file browser will be used to allow the user to choose a filename and storage location.

Parameters:
  • object (geopyv.object) – The object to be saved.

  • filename (str, optional) – The filename to give to the saved data file.

Note

  • Any geopyv object can be passed to this function.

  • Do not include the .pyv extension in the filename argument.