Closed
Description
What is your issue?
I have a dataset I created using xarray
. When I am using netcdf-java
to read the time axis, I am getting edges that aren't the same values as the time axis coordinates.
The xarray-developed dataset looks like:
From netcdf-java
I see the CoordinateAxis1DTime axis with the following attributes:
The edge array is offset by -0.5 days. After a little digging through the java docs, I found the CoordinateAxis1DTime.edge
array will only be the same as the CoordinateAxis1DTime.coords
array when the ContiniousAxis1DTime.isContiguous()
evaluates as True. But the java docs indicate:
How can I write a netcdf file using xarray where the time axis would be considered contiguous?
Metadata
Metadata
Assignees
Labels
No labels