Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consider provision of index files in notification message #13

Closed
yhe-wmo opened this issue May 9, 2023 · 11 comments
Closed

consider provision of index files in notification message #13

yhe-wmo opened this issue May 9, 2023 · 11 comments
Assignees

Comments

@yhe-wmo
Copy link
Contributor

yhe-wmo commented May 9, 2023

As noted in the TT-NWPMD meeting on 07.03.2023, TT-NWPMD will further discuss how to provide index files of GRIB2 (e.g. the key value of the notification message, the format of the index files, and mandatory/optional requirement) in the WIS2 notification message.

@sebvi
Copy link

sebvi commented May 11, 2023

I think index files are very important, especially if we allow data to be published aggregated in different ways. It could help in the extraction of specific subsets

@alexandreleroux
Copy link

As discussed at the TT-NWPMD meeting today, given this index file is 'metadata' about a specific GRIB2 file, I wonder if this metadata could actually be included in the corresponding wcmp2 record.

Thus one metadata record (wcmp2) instead of two (wcmp2+index) for a single GRIB2 file?

@yhe-wmo
Copy link
Contributor Author

yhe-wmo commented Jun 14, 2023

TT-NWPMD Meeting 2023.06.13 also noted that, if we are going to recommend the provision of index file, the TT should ensure consistency among data providers on the syntax, data format, etc. of the index file. TT decided to revisit this issue later, meanwhile, will seek clarification from TT-WISMD the possibility of integrating the information of the index file into the WCMP2 record.

@amilan17
Copy link
Member

@tomkralidis Please note that I added this issue to the TT-WISMD project board.

@josusky
Copy link

josusky commented Jun 22, 2023

Let me ask a stupid question, as is usual for me and as I have very little knowledge of NWP products:
Is the index file static in the sense that the same index file is valid for the GRIB2 product produced yesterday and GRIB2 product produced today?
If the answer is yes, then it can be part of the metadata - possibly as a link, not directly included in the JSON file, as I expect it to be somewhat bigger - but here again, my assumption about the size could be wrong.

@sebvi
Copy link

sebvi commented Jun 22, 2023

There are no stupid questions :)

The index file is not static in nature. GRIB2 is a record based format which means a GRIB file contains a collection of completely independent GRIB records in it. The index file usually contains useful keys to index the records (that part is essentially static) and also offset octet and octet length of each record to allow fast access/positioning in a file (that part is usually not static due to built in compression of the data values, i.e. the records vary in size from day to day)

HAve a look here for ECMWF index files: ECMWF open data

@tomkralidis
Copy link

tomkralidis commented Jun 22, 2023

TT-WISMD 2023-06-22:

@amilan17
Copy link
Member

amilan17 commented Jul 5, 2023

@wmo-im/tt-nwpmd meeting on 5 July 2023 were satisfied with the approach of providing a related link to the index file.

@amilan17
Copy link
Member

see last comment in this issue: wmo-im/wis2-notification-message#41

@golfvert
Copy link

By design, WIS2 is (and MUST stay) data format agnostic. The notification message, the topic hierarchy don't care whether it is a GRIB a NETCDF or else.
I understand the issue is sorted with the agreed mechanism.

To be closed.

@golfvert golfvert moved this from Uncategorized to To be closed? in WIS2 - the everything list Oct 25, 2023
@yhonda21
Copy link

yhonda21 commented Nov 5, 2023

NWPMD meeting on 2023.09.14

  • TT-WISMD agree to include a link to the index file in the notification message. The index file itself won't be cached. TT-NPWMD won't define the format of the index file and agreed that each Centre can use its own format of the index file. The ticket consider provision of index files in notification message #13 is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

8 participants