mo_netcdf: support 64bit integer array indices by separate *64 methods

Implemented additive 64-bit mo_netcdf API (supporting huge array indices):

  • NcGroup now has setDimension64
  • NcDimension has getLength64
  • NcVariable now exposes getShape64, setData64, getData64, and readInto64
  • all backed by the existing wrapper *64 entry points

Tighten the wrapper boundary in mo_netcdf_wrapper:

  • rank>0 buffers passed to c_loc become contiguous
  • validates start/cnt/stride/map before the netcdf-c call

No changes were made to mo_ncread or mo_ncwrite.

Edited by Sebastian Müller

Merge request reports

Loading