Hello,
Quite experienced with Agrif or NEMO i am new in using ROMS-rutgers. I would like to edit and correct my mask, but i don't really understand if and how i can do that with pyroms (i don't have matlab).
Any one could help with that ?
Thanks
How to edit a mask with pyroms
Re: How to edit a mask with pyroms
Yes, there's an example in examples/stuff/editmask.py
The idea is to cut and paste from that file into an instance of "ipython --pylab". Either of the routines edit_mask_mesh or edit_mask_mesh_ij should work, but the latter is faster. Sometimes the latter doesn't show all of the coastline - your mileage may vary.
You can write to the grid file directly instead of copying just the masks to your grid file from a temp file.
The idea is to cut and paste from that file into an instance of "ipython --pylab". Either of the routines edit_mask_mesh or edit_mask_mesh_ij should work, but the latter is faster. Sometimes the latter doesn't show all of the coastline - your mileage may vary.
You can write to the grid file directly instead of copying just the masks to your grid file from a temp file.
Re: How to edit a mask with pyroms
Thanks Kate,
I kind of tried that and in the best scenario i had a window on which i could click e to activate/desactivate toogle.
Tried again and it is now working (may because i used the zoom)
Thanks for your answer.
Xavier
I kind of tried that and in the best scenario i had a window on which i could click e to activate/desactivate toogle.
Tried again and it is now working (may because i used the zoom)
Thanks for your answer.
Xavier