It saves the WaterFrame into a pickle file.
- path: Path to save the pickle file (str).
- True: If the internal functions of this method do not raise any error, the return is always true (bool).
To reproduce the example, download the NetCDF file here and save it as example.nc
in the same pyhon script folder.
import mooda as md
path_netcdf = "example.nc" # Path of the NetCDF file
wf = md.read_nc_emodnet(path_netcdf)
# Save the wf into a pickle file
wf.to_pkl("example.pkl")
print("Pickle created.")
Output:
Pickle created.
Return to mooda.WaterFrame.