Open hafez-ahmad opened 2 months ago
To my knowledge, matplotlib does not allow you to create geotiffs.
Could you please help me on how to add some representative contour lines on top this plot?
Contour of which data?
Thank you so much for your response. @AntSimi for all four figures of Anticyclonic frequency, Cyclonic frequency All eddies frequency, Ratio Cyclonic / Anticyclonic. I like to add contour on top of frequency.
Take a look at this method RegularGridDataset.contour
Could you please write demo like you created deom on frequency ?
Thank you
Use is similar to grid display method, keyword argument are listed on documentation and on matplotlib documentation linked in pet contour documentation. Use could look like this if you want contour for some levels:
replace_by_my_grid.contour(replace_by_my_ax, 'replace_by_my_var', levels=[-3500,-2500,-1500])
Use could look like this if you want contour for a number of levels:
replace_by_my_grid.contour(replace_by_my_ax, 'replace_by_my_var', levels=5)
Thank you so much. Could you please show any way to calculate kinetic energy and baroclinic and barotropic instability ?
Thank you so much for creating wonderfull Package. I am trying to reproduce following
https://py-eddy-tracker.readthedocs.io/en/latest/python_module/10_tracking_diagnostics/pet_pixel_used.html#sphx-glr-python-module-10-tracking-diagnostics-pet-pixel-used-py
Could you please help me on how to add some representative contour lines on top this plot? and how I can save as nc/ geotif file so I could further work on this.
Here my code