nctoolkit.DataSet.set_gridtype

DataSet.set_gridtype(self, grid)

Set the grid type. Only use this if, for example, the grid is “generic” when it should be lonlat.

Parameters

grid (str) – Grid type. Needs to be one of “curvilinear”, “unstructured”, “dereference”, “regular”, “regularnn” or “lonlat”.