pyspeedy.Speedy

class pyspeedy.Speedy(**control_params)

Speedy model.

__init__(**control_params)

Constructor. Initializes the model.

For a complete list of the accepted initialization parameters, see: set_params().

Methods

__init__(**control_params)

Constructor.

get_shape(var_name)

Get the shape of an state variable.

grid2spectral()

Transform the grid u, v, t, qv, ps, and phi fields to the spectral domain.

run([callbacks])

Run the model between the start and the end date (defined in the instance start_date and end_date attributes).

set_bc([bc_file, sst_anomaly])

Set the model boundary conditions from a Netcdf file.

set_params([diag_interval, start_date, end_date])

Set the model's control parameters.

spectral2grid()

Transform the spectral u, v, t, qv, ps, and phi fields to the grid domain.

to_dataframe([variables])

Return an xarray DataFrame with the current model state.

Attributes

end_date

model_date

start_date