[ncl-talk] How to add topography in a "transect" cross section

Buzan, Jonathan jbuzan at purdue.edu
Fri Oct 16 01:51:57 MDT 2020


Hmmmm…
At that point, I would throw it into ncview and see what it looks like.

-Jonathan


On Oct 16, 2020, at 9:29 AM, Lyndz <olagueralyndonmark429 at gmail.com<mailto:olagueralyndonmark429 at gmail.com>> wrote:

Hi Jonathan,

The input file that I sent is from the post processed output of ICTP-RegCM.
I have already converted the raw output from sigma to pressure levels.


Sincerely,
Lyndz

On Fri, Oct 16, 2020 at 2:51 PM Buzan, Jonathan <jbuzan at purdue.edu<mailto:jbuzan at purdue.edu>> wrote:
Hello Lyndz,

From a quick glance, it looks like you did not transform your data from the original model coordinate system into pressure coordinates. A hybrid coordinate system is terrain following, so no topographic features will show up in your plots. This coordinate system is not true height in pressure or meters, but a hybrid.
If you are using CAM, you might want to try this function: http://www.ncl.ucar.edu/Document/Functions/Built-in/vinth2p.shtml
"Interpolates CAM (Community Atmosphere Model) hybrid coordinates to pressure coordinates.”

Cheers,
-Jonathan




On Oct 16, 2020, at 8:43 AM, Lyndz via ncl-talk <ncl-talk at mailman.ucar.edu<mailto:ncl-talk at mailman.ucar.edu>> wrote:

Dear NCL experts,

Problem:
I am plotting a cross section along two lat-lon points using the transect example in NCL. My input file has no topography nor hgt variable. I want to mask the topography since the transect crosses an Island.
Any suggestions on how I can do this in NCL?


Here's my input file:
https://www.dropbox.com/s/wt1q4wwnjrg4nvo/q_ein75-RegCM_1998-2005_DJF_1.nc?dl=0


What I have so far:
Attached are the script and output images.


I'll appreciate any help on this matter.

Sincerely,
Lyndz
<q_trans_ein75-RegCM_DJF.000002.png><q_trans_ein75-RegCM_DJF.000001.png><transect_q_ein75-RegCM.ncl>_______________________________________________
ncl-talk mailing list
ncl-talk at mailman.ucar.edu<mailto:ncl-talk at mailman.ucar.edu>
List instructions, subscriber options, unsubscribe:
https://mailman.ucar.edu/mailman/listinfo/ncl-talk


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201016/d5ca485e/attachment.html>


More information about the ncl-talk mailing list