Fix wrong index for vertical position NetCDF product generation function.
Honor configuration for paths of Slocum programs by WRC.