Adding Provinces and Rivers

From: IMRAN NADEEM <qphoton_at_nyahnyahspammersnyahnyah>
Date: Sat, 7 Mar 2009 19:19:22 +0100

Dear All,

      I am using version 5.1 of NCL to draw provinces of Austria. I am using
the method described in example 16 im "Map only" section
maponly_16.ncl<http://www.ncl.ucar.edu/Applications/Scripts/maponly_16.ncl>.
But I am not getting the provincial provincial boundaries in my output. The
script is given below. Also I have river data for the region, is it possible
to add rivers in the plot.

Regards
Nadeem

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","maponly") ; Open a ps file
  gsn_define_colormap(wks,"amwg")

  res = True
  res_at_gsnMaximize = True ; Maximize plot in frame.
  res_at_gsnPaperOrientation = "Portrait"

  res_at_pmTickMarkDisplayMode = "Always" ; Turn on map tickmarks

  res_at_mpDataSetName = "Earth..4"
  res_at_mpDataBaseVersion = "MediumRes"

  res_at_mpOutlineOn = True ; Turn on map outlines
  res_at_mpOutlineSpecifiers = "Austria:states"

  res_at_mpFillOn = True ; Turn on map fill
  res_at_mpFillBoundarySets = "National"
  res_at_mpFillAreaSpecifiers = "Austria:states"

  res_at_tiMainFont = "helvetica"
  res_at_tiMainOffsetYF = -0.02
  res_at_tiMainFontHeightF = 0.02

  res_at_tiMainString = "Provinces of Austria"
  res_at_mpMinLatF = 46
  res_at_mpMaxLatF = 50
  res_at_mpMinLonF = 09
  res_at_mpMaxLonF = 18

  plot = gsn_csm_map(wks,res)
end

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sat Mar 07 2009 - 11:19:22 MST

This archive was generated by hypermail 2.2.0 : Mon Mar 09 2009 - 21:47:10 MDT