io read_state(filename) Read a model state from a NetCDF file. Parameters: Name Type Description Default filename str local or remote location of the NetCDF file required Returns: Name Type Description state dict a model state dictionary write_state(state, filename) Write a model state to a NetCDF file. Parameters: Name Type Description Default state dict a model state dictionary required filename str local or remote location to write the NetCDF file required