cosipy_core

cosipy.cpkernel.cosipy_core.cosipy_core(DATA, indY, indX, GRID_RESTART=None, stake_names=None, stake_data=None)[source]

Cosipy core function.

The calculations are performed on a single core.

Parameters:
  • DATA (xarray.Dataset) – Dataset with single grid point.

  • indY (int) – The grid cell’s Y index.

  • indX (int) – The grid cell’s X index.

  • GRID_RESTART (xarray.Dataset) – Use a restart dataset instead of creating an initial profile. Default None.

  • stake_names (list) – Stake names. Default None.

  • stake_data (pd.Dataframe) – Stake measurements. Default None.

Returns:

All calculated variables for one grid point.