about ocean figure error from ORCA grid

From: ±è¹®Çö <corps798_at_nyahnyahspammersnyahnyah>
Date: Sun Dec 15 2013 - 22:21:42 MST

 Dear, ncl talkers.
>
>
>
> Hello,
>
> I would like to use ORCA grid of ocean model to analyze the air-sea
interaction,
>
> but, have a problem such as attached figure file.
>
>
>
> My ORCA grid point is 1021 x 1442.
>
> I guess that I may need some infomation such as axis or bounds info, to
use the sfXArray and sfYArray of each 2 dimensional x, y axis.
>
>
>
> How can I set up it? Please, help me.
>
>
>
> from Moon-Hyun Kim
>
>
>
> Ps: Attached files are err figure using below and my nc data head info.
>
> Below contents are my just to draw ORCA grid.
>
> -------------------------------------------
>
> load "$NCARG_ROOT/lib/ncarg/ncls/csm/gsn_code.ncl"
> load "$NCARG_ROOT/lib/ncarg/ncls/csm/gsn_csm.ncl"
>
> begin
>
> dir = "/crlnas/vol31/gpc/GS5Archive/prodh/2013nc/onm/T/"
> srcFileName = "prodh_rs_sfc_onm_T_13_20090509_200911_001.nc"
>
> orca = addfile(dir+srcFileName,"r")
> sst = orca->votemper(0,0,:1019,1:) ; Read data
> lon = orca->nav_lon
> lat = orca->nav_lat
>
> ;---- PLOT
> wks = gsn_open_wks("ps","orca")
> gsn_define_colormap(wks,"gui_default")
>
> res = True
> res@gsnMaximize = True ; Maximize plot in frame
> res@trGridType = "TriangularMesh" ; Define the mesh type.
>
> res@sfXArray = lon
> res@sfYArray = lat
> res@sfMissingValueV = sst@_FillValue
>
> res@cnFillOn = True
> res@cnFillColors = (/ 2, 3, 4, 5, 7, 8, 9, 11, 12, 13, 15, 16,
17, \
> 19, 20, 21, 23/)
>
> res@cnLinesOn = False ; Turn lines off
> res@cnLineLabelsOn = False ; Turn labels off
>
> res@mpProjection = "Orthographic"
> res@mpCenterLatF = 50
> res@mpGridLineColor = -1 ; Turn off grid lat/lon lines
> res@mpGridAndLimbOn = True
>
> res@cnFillMode = "AreaFill" ; The default.
> res@tiMainString = "Orca Grid - Default fill mode"
>
> map = gsn_csm_contour_map(wks,sst,res)
>
> end

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

orca.gif
Received on Sun Dec 15 22:21:55 2013

This archive was generated by hypermail 2.1.8 : Wed Dec 18 2013 - 14:29:51 MST