rcatool.utils.file_io.getDimensions

rcatool.utils.file_io.getDimensions(nc, close=False)[source]

Function to retrieve the dimensions of a netcdf file nc: Netcdf object opened with function “openFile” close: set True if you want the file to be closed after retrieval. Returns lons and lats, time as well as gridsize Nx,Ny