Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Sat Sep 21, 2019 9:13 am




Post new topic Reply to topic  [ 3 posts ] 

All times are UTC

Author Message
PostPosted: Fri Apr 12, 2019 8:06 am 
Offline

Joined: Thu Jul 16, 2009 5:17 pm
Posts: 10
Location: Madeira University
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


Top
 Profile  
Reply with quote  
PostPosted: Fri Apr 12, 2019 5:50 pm 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3671
Location: IMS/UAF, USA
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.


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 15, 2019 7:13 am 
Offline

Joined: Thu Jul 16, 2009 5:17 pm
Posts: 10
Location: Madeira University
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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group