Python code extracting data from the NETCDF4 files