Open mattjbr123 opened 1 month ago
Spinning it off into it's own issue given it's a fairly minor problem at this stage
The error will likely be in the pangeo functions that wrap around Beam, so that's probably the place to start...
Following the advice here to find out which step of the pipeline the extra dimensions get added, as a starting point.
Annoyingly, a Beam print function can only be placed at the end of a Beam pipeline, (though my hunch is there is some more fancy syntax that allows for pipeline branching and works around this), so it's a case of one-by-one putting the print statement after each function and analysing the output until we see the extra dimensions added.
Looks like it's to do with the ConsolidateDimensionCoordinates() function, which I guess isn't massively surprising... Will confirm and look into exactly what it's doing next.
Though I've now noticed that the pipeline has added a time dimension to the variables that we converted from data variables to coordinate variables in the preprocessing function (so the variables
x_bnds
,y_bnds
andcrs
)_Originally posted by @mattjbr123 in https://github.com/NERC-CEH/dri_gridded_data/issues/9