-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
What happened?
When reading from a memory buffer, only the first field is retrieved and recorded in the ds.
import earthkit.data as ekd
from io import BytesIO
sample_ds = ekd.from_source("sample", "storm_ophelia_wind_850.grib")
print(sample_ds.ls())
# centre shortName typeOfLevel level dataDate dataTime stepRange
# 0 ecmf u isobaricInhPa 850 20171016 0 0
# 1 ecmf v isobaricInhPa 850 20171016 0 0
bufr = BytesIO()
sample_ds.to_target('file', bufr)
mem_ds = ekd.from_source("memory", bufr.getvalue())
print(mem_ds.ls())
# centre shortName typeOfLevel level dataDate dataTime stepRange
# 0 ecmf u isobaricInhPa 850 20171016 0 0 Request
Can this be enhanced to retrieve more?
Version
0.15.0
Platform (OS and architecture)
ATOS
Organisation
ECMWF
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request