Dear all,
I am trying to modify the solute concentration in the checkpoint file by multiplying the concentration of a specific species by a scale factor. The HDF5 file structure is /PMCSubsurfaceTransport/transport/Primary_Variable, which contains a 1-D array of length 67,200. This value reflects the product of 1,920 grid cells and 35 species (17 primary species + 18 immobile species defined in the sandbox).
I would like to apply a scaling factor to several immobile species, but I am unsure how the 67,200 entries are organized. Are they arranged by grid or by species? In other words, does the file store the first 35 elements as all species in the first grid cell (followed by the next 35 elements for the second grid cell), or does it store the first 1,920 elements as the first species across all grid cells (followed by the next 1,920 elements for the second species)? Any insights would be greatly appreciated.
Best,
Kewei