https://github.com/ETSInitiative/PETSIRD/blob/fa2f04321cba17233817062d64251ed4df72caf9/cpp/helpers/petsird_generator.cpp#L74-L75 needs to use `(Nx-1)` as per the Python example.
PETSIRD/cpp/helpers/petsird_generator.cpp
Lines 74 to 75 in fa2f043
needs to use
(Nx-1)as per the Python example.