Versions Compared

Key

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

...

Metadata is always very important. The easiest way to get full metadata is in your script is using the template that netCDF kickstarter is providing you. In general, metadata definitions should be tested against standards. Available standards are the ISO 19115, 19115-2 and 19119, which can be tested with ncISO software. In the geophysics sector, variables should also comply to the CF standards. Especially for time series, a user could benefit from a the use of an unlimited time dimension.

 

Matlab

It can be tricky getting data (e.g. model results) from a Matlab environment to be plotted on a Geoserver which communicates in Python. The main things to consider are:

  • Always use the coordinate system WGS84 (EPSG:4326)
    • Coordinate conversion can be carried out with convertCoordinates
  • The x and y axis both need to be monotonic increasing and in rows (i.e. no meshgrid)
  • You define that the dimensions in the order longitude, latitude and time (no other order)
    • Therefore, the z axis or c values (colors) need to be same re-arranged so they match (function: permute)