Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
nc = read('netcdf.nc')
print('Variables: ', variables(nc))
print('Global attributes: ', global_attributes(nc))

Exporting Cross Sections and Profiles as netCDF

Metview uses netCDF internally for the results of some computations. In particular, the analysis views do this, but their result data is not available to the user. Therefore, each of these views has a corresponding Data view - for example, there exist both a Cross Section View and a Cross Section Data icon. If the intention is to simply plot the result, then the View icons are more useful. But to store the result data, the Data icon is needed.

Geopoints

Geopoints is the ASCII format used by Metview to handle spatially irregular data (e.g. observations). There are a number of variations on the format, but the default one is a 6-column layout. The columns do not have to be aligned, but there must be at least one whitespace character between each entry.

...

Visualise the icon. The visdef used for geopoints is Symbol Plotting, and its default behaviour is to plot the actual numbers on the map. This can become cluttered, and text rendering can be slow. Drop the supplied coloured_symbols icon into the Display Window to get a better view of the data.