free functions in ncutils.f90 of grid parameters