salem.Grid.to_json

Grid.to_json(fpath)[source]

Serialize this grid to a json file.

Parameters:
fpath : str, required

the path to the file to create

See also

from_json
read a json file