Closed santisoler closed 3 months ago
To fix this bug we should change the behavior of verde.grid_to_table
and include any additional coordinate in the resulting Dataframe.
I labeled as a good-first-issue
to encourage new contributions. Feel free to jump in and tackle it!
Description of the problem:
When passing an
xarray.DataArray
that contains extra coordinates (e.g. a 2Dupward
coordinate) to theverde.grid_to_table
function, the resultingpandas.Dataframe
doesn't include a column for it.Full code that generated the error
Output
The
height
coordinate in the xarray object is not present in the resulting pandas Dataframe:System information
conda list
below:Output of conda list