Closed EddyCMWF closed 1 year ago
I do not consider this as a bug, but something that is not yet implemented. It is not trivial to write a NetCDFieldList to disk since it can contain an arbitrary subset of the "fields".
Okay, I wasn't sure whether to tag as bug or enhancement, I am happy either way. My solution is to point to the existing to_netcdf method. Probably best to carry on this conversation on the PR
What happened?
It is not possible to save
netCDFFieldList
objects using the.save
method, e.g.:ek_data_object.save('output.nc')
. This is often necessary when working with remote files, e.g. from sources"url"
or"cds"
.Note this is not a problem with the
NetCDFReader
object.What are the steps to reproduce the bug?
Version
latest
Platform (OS and architecture)
MacOS + Linux
Relevant log output
Accompanying data
No response
Organisation
No response