[ncl-talk] Ocean water density calculation
Dennis Shea
shea at ucar.edu
Thu Mar 1 16:55:31 MST 2018
This question is not clear to me.
"I have gotten two different minimum and maximum values for density"
test.ncl has: one ?time? step and one set of data ranges
temp=f0[:]->THETA(7,{0:500},{0:6},{80})
printVarSummary(temp)
temp at _FillValue=1.e20
salt=f1[:]->SALT(7,{0:500},{0:6},{80})
salt at _FillValue=1.e20
printVarSummary(salt)
depth=40
pd=rho_mwjf(temp, salt, depth)
---
n.ncl has ALL [:] ?time? steps and a different set of data ranges
emp=f0[:]->THETA(:,{0:200},{5.5:6},{76:86})
printVarSummary(temp)
temp at _FillValue=1.e20
salt=f1[:]->SALT(:,{0:200},{5.5:6},{76:86})
salt at _FillValue=1.e20
printVarSummary(salt)
====
Are you asking about your array manipulations or abou the
results from the NCL function:
http://www.ncl.ucar.edu/Document/Functions/Contributed/rho_mwjf.shtml
===
Really, looking at the scripts with no information from
'printVarSummary(...)'
would be a time consuming effort
Certainly, making **one** sample THETA and SALT file available would also
help.
ftp ftp.cgd.ucar.edu
anonymous
your_email
cd in coming
put THETA.1440x720x50.1993????.nc"
put SALT.1440x720x50.1993????.nc"
quit
On Wed, Feb 28, 2018 at 10:31 PM, Wickramage Chathurika <
wickramagechathurika at rocketmail.com> wrote:
> Hello,
>
> I am calculating the density of ocean water using ECCO2 model data. I have
> calculated density by two different methods. One is according to NCL
> example. But I have gotten two different minimum and maximum values for
> density. I have attached herewith the two scripts and please help me to
> figure out the problem with my script. appreciate your help in advance.
>
>
> Kind Regards;
> Chathu
>
>
> ........................................
>
>
> Wickramage Chathurika Hemamali
> Msc Research Scholar
> State Key Laboratory of Tropical Oceanography
> South China Sea Institute of Oceanology
> University of Chinese Academy of Science
> China
>
> *Specialized in Oceanography and Marine Geology (Bachelor)*
> *University of Ruhuna*
> *Matara*
> *Sri Lanka*
>
> Email : wickramagechathurika at rocketmail.com
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180301/5cd1caba/attachment.html>
More information about the ncl-talk
mailing list