Extra coordinates should be considered when converting grid to table #403
Labels
bug
Report a problem that needs to be fixed
good first issue
Good for newcomers (doesn’t require deep knowledge of the project)
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
The text was updated successfully, but these errors were encountered: