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
Is it possible to select what data type a specific key should be read as?
The case I would like to use this for is to be able to read grb.indicatorOfTypeOfLevel as a long. Not as a string.
Now grb.indicatorOfTypeOfLevel returns 'sfc' but I would like it to return 105.
This can be done in in Eccodes tools by appending :l to the key.
Similar functionality seams to be available for index creation but I can´t see it is possible when reading keys.
Is this currently not possible or have I failed to read the doc properly?
Thanks
Jesper
The text was updated successfully, but these errors were encountered:
Is it possible to select what data type a specific key should be read as?
The case I would like to use this for is to be able to read
grb.indicatorOfTypeOfLevel
as a long. Not as a string.Now
grb.indicatorOfTypeOfLevel
returns'sfc'
but I would like it to return105
.This can be done in in Eccodes tools by appending
:l
to the key.Similar functionality seams to be available for index creation but I can´t see it is possible when reading keys.
Is this currently not possible or have I failed to read the doc properly?
Thanks
Jesper
The text was updated successfully, but these errors were encountered: