Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Fri Jun 22, 2018 10:59 pm




Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Author Message
PostPosted: Tue Sep 20, 2011 3:36 am 
Offline

Joined: Fri Jan 08, 2010 7:22 pm
Posts: 135
Location: Theiss Research
I think that this might be a relatively easy and quite useful feature:

There are several good reasons why one would want to plot time series of kinetic or potential energy, volume, or maximum velocities ... all that info is available in the out file but it is not straightforward to put it into vectors to plot. If the same info was written in a netcdf file (including a time vector) then it should be straightforward to plot and carry the info in a small valuable netcdf file. Units would be readily available too!


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 21, 2012 5:04 pm 
Offline

Joined: Wed Sep 07, 2011 4:13 pm
Posts: 24
Location: GFZ Potsdam
I agree, netcdf output for these variables would be nice! For the time being, here's a fix using awk and cdo:

Code:
awk '/0:00  / { print $4 }' output.out > ekin.txt
cdo -f nc input,r1x1 ekin.nc < ekin.txt

For epot, replace "$4" with "$5", etc.

Who knows, someone might find it useful.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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