Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Fri Aug 17, 2018 11:12 pm




Post new topic Reply to topic  [ 3 posts ] 

All times are UTC

Author Message
PostPosted: Fri Jun 08, 2018 11:55 am 
Offline

Joined: Tue Aug 22, 2017 5:38 pm
Posts: 8
Location: Second Institute of Oceanography
hello everyone,
I want to make clm file with pyroms, according to the example named Palau_HYCOM , I run make_remap_weights_file.py ,but there is no remap_matrix data in remap_weights file. I make ROMS grid file with GridBulider , and I also have HYCOM_grid file.
Maybe something wrong in this line in compute_remap_weights.py :

# compute weights
pyroms.remapping.scrip.compute_remap_weights('compute_remap_weights_in')

Could anyone help me ?
Thanks in advance. XD

WangQian
18.6.8


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 08, 2018 3:20 pm 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3487
Location: IMS/UAF, USA
I don't know that this is your problem, but one potential problem is that your longitudes are negative and the HYCOM longitudes are all positive. I've got a little script to add 360 to the grid file longitudes - and another to subtract 360.


Top
 Profile  
Reply with quote  
PostPosted: Sun Jun 10, 2018 7:37 am 
Offline

Joined: Tue Aug 22, 2017 5:38 pm
Posts: 8
Location: Second Institute of Oceanography
kate wrote:
I don't know that this is your problem, but one potential problem is that your longitudes are negative and the HYCOM longitudes are all positive. I've got a little script to add 360 to the grid file longitudes - and another to subtract 360.

Oh, it's a very stupid mistake. I do HYCOM_grid file by my script, but I make lat as lon, So pyroms can't work.
Now it works, thank you very much.

WangQian


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