Ocean Modeling Discussion

ROMS/TOMS

Search for:
 It is currently Wed Jun 26, 2019 8:07 am

 Page 1 of 1 [ 7 posts ]
 All times are UTC
Author Message
 Post subject: How to convert potential temperature to temperaturePosted: Wed May 06, 2015 2:37 am

Joined: Tue Oct 08, 2013 4:46 pm
Posts: 12
Location: HongKong
Dear all,

I want to calculate ocean heat content which is defined by temperature. Does anyone know how to convert potential temperature to temperature. Thanks.

Alex

Top

 Posted: Wed May 06, 2015 4:33 am

Joined: Mon Apr 28, 2003 5:44 pm
Posts: 489
Location: Rutgers University
There is a "seawater" toolbox

in Matlab
http://www.cmar.csiro.au/datacentre/ext ... awater.htm

or Python
https://pypi.python.org/pypi/seawater/

_________________
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

Top

 Posted: Wed May 06, 2015 5:07 am

Joined: Wed Jan 02, 2008 3:15 pm
Posts: 78
Location: University of Copenhagen
Dear,

You can use the attachment file.

Hope can help you.

 Attachments: sw_temp.m [1.86 KiB] Downloaded 156 times File comment: the complementary function,sw_ptmp: Potential temperature sw_ptmp.m [3.6 KiB] Downloaded 165 times File comment: sw_temp: Temperature from potential temperature sw_temp.m [1.86 KiB] Downloaded 175 times
Top

 Posted: Thu May 07, 2015 4:48 am

Joined: Tue Oct 08, 2013 4:46 pm
Posts: 12
Location: HongKong
Thanks a lot. I will try them.

Top

 Posted: Fri May 08, 2015 2:19 am

Joined: Tue Oct 08, 2013 4:46 pm
Posts: 12
Location: HongKong
wilkin wrote:

Dear Wilkin,

Could I ask another question, why roms use potential temperature instead of temperature? Actually, I am very new to ocean model, I am wondering if the ocean models prefer potential temperature. Thanks.

Alex

Top

 Posted: Fri May 08, 2015 3:39 am

Joined: Mon Apr 28, 2003 5:44 pm
Posts: 489
Location: Rutgers University
If you could put seawater in a container that insulates it from exchanging heat with any of the surrounding water, then move it from one depth to another, its temperature will change by virtue of the compression due to pressure. However, its potential temperature would not. That's basically the definition of potential temperature. So this is what we want in an ocean model - the model temperature only changes in response to heat exchange from surface fluxes or mixing with adjacent water of a different temperature. Just moving from one depth to another does nothing.

_________________
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

Top

 Posted: Fri May 08, 2015 11:34 am

Joined: Tue Oct 08, 2013 4:46 pm
Posts: 12
Location: HongKong
wilkin wrote:
If you could put seawater in a container that insulates it from exchanging heat with any of the surrounding water, then move it from one depth to another, its temperature will change by virtue of the compression due to pressure. However, its potential temperature would not. That's basically the definition of potential temperature. So this is what we want in an ocean model - the model temperature only changes in response to heat exchange from surface fluxes or mixing with adjacent water of a different temperature. Just moving from one depth to another does nothing.

Thanks for your explanation.

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 7 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 forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for:
 Jump to:  Select a forum ------------------ News, Events & Job Opportunities    Meetings/Workshops    Job Opportunities    Ocean News ROMS/TOMS    ROMS Adjoint    ROMS Benchmarks    ROMS Bugs    ROMS Discussion    ROMS Documentation    ROMS Ecosystem    ROMS FAQ    ROMS Ice    ROMS Information    ROMS Installation    ROMS Known Problems    ROMS Messages    ROMS Problems    ROMS Releases    ROMS Results    ROMS Sediment    ROMS Source    ROMS Tips    ROMS Tools and Techniques    ROMS Trivia    ROMS Usage    ROMS Webinar    ROMS Wish List ROMS/TOMS Applications    User Applications    Adriatic Sea Ocean Modeling    Ocean Modeling FAQ
Powered by phpBB® Forum Software © phpBB Group