Versions Compared

Key

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

...

Visualise it to get a default plot. In the solutions folder is a script called gallery_example_nc_maritime_obs.py, which converts from Kelvin to Celcius and adds some stying to the plot (generated as PDF - simply remove the mv.setoutput() command to get an on-screen visualisation).

Extract data and convert to pandas

Have a look in the solutions folder and edit and run the script netcdf_to_pandas.py. This shows how to extract some metadata, and also some value arrays and convert into a pandas dataframe.