NCAS-CMS / cfa-conventions

NetCDF Climate and Forecast Aggregation (CFA) Conventions
https://github.com/NCAS-CMS/cfa-conventions/blob/main/source/cfa.md
1 stars 1 forks source link

Is one address enough? #37

Closed davidhassell closed 1 year ago

davidhassell commented 2 years ago

The address variable contains, for each URI, a unique address of the fragment within that file (note that a single fragment can have multiple URIs, anyone of which contains the required data).

Is a single address per file always going to be sufficient?

The reason I was thinking about this is that currently the PP/UM C interface that cf-python uses requires two address (one for the header and one for the data). Hoever, I'm 99% sure that this does not need to be the case and that interface can be configured to only require the header address, since the header itself identifies the start of the data.

davidhassell commented 1 year ago

I have now tweaked cf-python to be able to cope with a single address (i.e. the word address of the array's header), so I don't think that we currently have a use case for multiple addresses. Therefore I'll close this for now.