ARPA-SIMC / dballe

Fast on-disk database for meteorological observed and forecast data.
Other
19 stars 6 forks source link

json format usable in fortran interface? #215

Closed dcesari closed 4 years ago

dcesari commented 4 years ago

Since, AFAIU, now json is a full-right citizen among the dballe formats, could we use it natively also from the fortran interface for reading/writing files, e.g. in idba_messages_open_input & c, together with bufr and crex?

spanezz commented 4 years ago

Yes, definitely: you use "JSON" instead of "BUFR" as the format argument.

I just added a Fortran test to make sure it is: https://github.com/ARPA-SIMC/dballe/blob/master/fortran/check_messages_json.f90