magpie.remap.grid2grid1d
- magpie.remap.grid2grid1d(f, boxsize, ngridout, origin=0.0, originout=0.0, boxsizeout=None)
Remaps a dataset defined on 1D a uniform cartesian grid onto a new 1D uniform cartesian grid.
- Parameters
- farray
The values of the 1D grid pixels.
- boxsizefloat
Box size.
- ngridoutint
Grid division of the output grid.
- originfloat, optional
Origin of the grid.
- originoutfloat, optional
Origin of the output grid.
- boxsizeoutfloat
Box size of the output grid.
- Returns
- foutarray
The remapped pixel values for the output 1D grid.