Reads a ncdf input file to extract the input for the classification: pressure field, longitudes, latitudes and dates. Absolute time is required to read the dates properly.
read_ncdata(ncinput, nam_coor, units)A NETCDF file with pressure field.
Names of space and time coordinates
Units required (Pa or hPa).
A list with:
A 3D-array of mean sea level (or pressure field) as [lon,lat,times]. The units returned as hPa.
A numeric with longitudes values.
A numeric with latitudes values.
A numeric with dates values.