write data to file. Then use cdo to write the data to an netCDF file. # The data is in the wrong shape (columns x lines). The rows and columns must be swapped (lines x columns). data = ascii_data.T ...
This MATLAB script converts NetCDF (.nc) files containing meteorological data (e.g., evaporation and total precipitation) into an ASCII text file format. Geographic coordinates (origin: 48.0869, ...