Re: Map in Lambert-Conformal projection

From: Sho Kawazoe <shomtm62_at_nyahnyahspammersnyahnyah>
Date: Thu Feb 17 2011 - 09:05:50 MST

Mateus,

 Trying following the example listed here
http://www.ncl.ucar.edu/Applications/Scripts/lcnative_1.ncl

Your probably missing the REQUIRED
   res@mpLambertParallel1F = 30
   res@mpLambertParallel2F = 60.
   res@mpLambertMeridianF = -97.0
commands. This is the projection for the work I'm doing, but try and adjust
it to fit your needs.

Sho Kawazoe

2011/2/17 Mateus Teixeira <mateus.teixeira@gmail.com>

> Dear NCL users,
>
> I'm trying, without success, to plot Brazil's map in a Lambert-Conformal
> projection, using maponly_13.ncl as a start point.
> Below is the script:
>
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
>
> begin
> wks = gsn_open_wks("ps","dominios") ; Open a ps file
>
> res = True
> res@gsnMaximize = True
> res@pmTickMarkDisplayMode = "Always"
> res@mpDataSetName = "Earth..4"
> res@mpDataBaseVersion = "MediumRes"
> res@mpOutlineOn = True
> res@mpOutlineSpecifiers = (/"Brazil:states"/)
> res@mpFillOn = False
> res@mpProjection = "LambertConformal"
> res@mpLimitMode = "LatLon"
> res@mpMinLatF = -60.
> res@mpMinLonF = -80.
> res@mpMaxLatF = 0.
> res@mpMaxLonF = -30.
> res@mpGridAndLimbOn = True
>
> plot = gsn_csm_map(wks,res)
>
> end
>
> That produces the plot attached. I couldn't understand why it's happening.
> Am I missing something?
>
> Best regards,
>
>
> --
> Mateus da Silva Teixeira
> Registered Linux User #466740 (http://counter.li.org/)
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

-- 
Sho Kawazoe
Graduate Student Meteorology
3019 Agronomy
Ames, IA 50010
Iowa State University
shomtm62@iastate.edu

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Feb 17 09:05:58 2011

This archive was generated by hypermail 2.1.8 : Thu Feb 17 2011 - 22:00:17 MST