rcatool.utils.file_io.getParams
- rcatool.utils.file_io.getParams(nc, params, close=False)[source]
Function to retrieve variables from a netcdf file nc: Netcdf object opened with function “openFile” params: A list of strings with the parameters to be retrieved close: set True if you want the file to be closed after retrieval. Returns a list with the given parameters.