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
Currently, a FieldList can only write into a file and the API consists of the save() and write() methods:
defsave(self, filename, append=False, **kwargs):
r"""Write all the fields into a file."""defwrite(self, f, **kwargs):
r"""Write all the fields to a file object."""
write() can also be called on a Field.
Now, the primary task is to extend this public API to allow for using a target in save(). It is not clear how to do it. Some possible solutions:
Is your feature request related to a problem? Please describe.
We can already write earthkit-data GRIB data into an FDB as the https://earthkit-data.readthedocs.io/en/latest/examples/grib_fdb_write.html example demonstrates. The task is now to simplify this process and allow users to do it by simply calling a method on a
FieldList
.Currently, a
FieldList
can only write into a file and the API consists of thesave()
andwrite()
methods:write()
can also be called on aField
.Now, the primary task is to extend this
public API
to allow for using atarget
insave()
. It is not clear how to do it. Some possible solutions:save()
:to_target()
method:The text was updated successfully, but these errors were encountered: