RE: [ncl-talk] To match overlayed variables

From: Debasish Pai Mazumder <debasish_at_nyahnyahspammersnyahnyah>
Date: Wed, 10 Dec 2008 12:12:28 -0900

Dear Jin-Young Kim,

 

First of all you need to declare latitude and longitude as a dimension of u,
v, wind and p

 

For an example:

 

u!0 = "lat1d"

u&lat1d=lat1d

u!1 = "lon1d"

u&lon1d=lon1d

 

Your overlay wind vector occupies smaller area because you plotted the
vector for u(::6,::6),v(::6,::6) whereas you plotted wind and p for whole
domain

 

Also I have a suggestion: Instead of using

 

;************************************************

; Draw everything for final image

;************************************************

  map = gsn_csm_contour_map(wks,wind,res)

  vcidt = gsn_csm_vector(wks,u(::6,::6),v(::6,::6),vcres)

  cnid3 = gsn_csm_contour(wks,p,cnres3)

 

  overlay(map,cnid3)

  overlay(map,vcidt)

 

You can use one "overlay" like

 

;************************************************

; Draw everything for final image

;************************************************

  map = gsn_csm_contour_map(wks,p, cnres3)

  vcidt = gsn_csm_vector_scalar_map_ce(wks,u(:,:),v(:,:),wind(:,:), vcres)

  overlay(map,vcidt)

 

Good luck

 

Debasish

 

 

  _____

From: ncl-talk-bounces_at_ucar.edu [mailto:ncl-talk-bounces_at_ucar.edu] On Behalf
Of Jin-Young Kim
Sent: Wednesday, December 10, 2008 10:46 AM
To: ncl-talk_at_ucar.edu
Subject: To match overlayed variables

 

Greetings,

I've tried to draw the overlayed variables
http://climate.pknu.ac.kr/~jin/Sfc-wind_d02h_06.ps
But it look does not match exactly..

overlayed wind vector looks smaller area.

How do you think so?
Do you have anybody to know the reason?

Best regards,
Jin-Young Kim

-- 
Ph. D. Student 
Jin-Young Kim (jin_at_climate.pknu.ac.kr)
Integrated Climate System Modeling Lab.
Department of Environmental Atmospheric Sciences
Pukyong National University, Busan 608-737, South Korea
Web : http:climate.pknu.ac.kr/~jin
Visiting Scholar
Jin-Young Kim (Jin-Young.Kim_at_noaa.gov)
Global Systems Division
Earth System Research Laboratory 
R/GSD7 
325 Broadway 
Boulder, CO80305-3328
+1-303- 497-4422 (Office) 
+1-303- 497-7262 (FAX)

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Dec 10 2008 - 14:12:28 MST

This archive was generated by hypermail 2.2.0 : Thu Dec 11 2008 - 03:51:46 MST