Converts raw NetCDF coordinates into a canonical data.frame with one row per grid cell.
Details
Regular grids supply lat and lon as 1D vectors; all
combinations are expanded with expand.grid(). Rotated or
curvilinear grids supply lat and lon as 2D matrices, with
rotated indices appended when available.
