NOAA-OWP / ngen-forcing

Other
3 stars 6 forks source link

Modify `get_grid_{x,y,z}` to return coordinate arrays matching grid shape in gridded mode #16

Closed program-- closed 1 month ago

program-- commented 1 month ago

This PR changes the output of get_grid_{x,y,z} to return unique coordinate values. Currently, the length of the output array is equal to get_grid_size, which is the product of the values of get_grid_shape. However, for uniform_rectilinear grids, we'd expect the array sizes to match the shape of the a given dimension, rather than the entire space.

@jduckerOWP

Changes

Checklist