swn.SurfaceWaterNetwork.to_pickle#

SurfaceWaterNetwork.to_pickle(path, protocol=5)#

Pickle (serialize) object to file.

Parameters:
pathstr

File path where the pickled object will be stored.

protocolint

Default is pickle.HIGHEST_PROTOCOL.

See also

from_pickle

Read file.