You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xarray gets grumpy when trying to serialize the t0 attribute in the SP3 dataset generated by load_sp3, as it is a datetime object, but xarray cannot handle it because it wants a string, number, or list-like type.
It seems that the library is not handling this case, and it should have a mechanism to handle this case by converting the datetime object to a string, or a number before writing it to the netCDF file.
Repro:
> python -m georinex.read -o out.nc in.sp3
The text was updated successfully, but these errors were encountered:
fixed by #96
xarray gets grumpy when trying to serialize the
t0
attribute in the SP3 dataset generated byload_sp3
, as it is adatetime
object, but xarray cannot handle it because it wants a string, number, or list-like type.It seems that the library is not handling this case, and it should have a mechanism to handle this case by converting the datetime object to a string, or a number before writing it to the netCDF file.
Repro:
> python -m georinex.read -o out.nc in.sp3
The text was updated successfully, but these errors were encountered: