<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Colleagues<br>
<br>
I'm plotting surfaces using a one dimensional variable with spatial
attributes:<br>
<br>
; read in CalCOFI larval data<br>
in =
addfile("../data/CalCOFI_vinciguerria_by_cruise_"+cruise+".nc","r")<br>
larvae = in->larvae_10m2<br>
larvae@lat1d = in->latitude<br>
larvae@lon1d = in->longitude<br>
..................<br>
plot_Vinciguerria =
gsn_csm_contour_map_ce(wks,larvae,res)<br>
<br>
here's a summary of the variable being plotted =====================<br>
ncl 55> printVarSummary(larvae)<br>
<br>
Variable: larvae<br>
Type: float<br>
Total Size: 716 bytes<br>
179 values<br>
Number of Dimensions: 1<br>
Dimensions and sizes: [row | 179]<br>
Coordinates: <br>
Number Of Attributes: 5<br>
actual_range : ( 0, 175.07 )<br>
coordinates : time latitude longitude<br>
ioos_category : Other<br>
long_name : Standardized count of larvae for oblique tows<br>
units : Fish larvae per ten meters squared of water sampled<br>
ncl 56> <br>
===================<br>
If you look at my plots, it's pretty clear that some smoothing of
the contours would be a good idea: <br>
<a class="moz-txt-link-rfc2396E" href="https://my.pcloud.com/publink/show?code=XZCAIe7ZthCAvhQXclQFi79D7Tv6xpCASSn7"><https://my.pcloud.com/publink/show?code=XZCAIe7ZthCAvhQXclQFi79D7Tv6xpCASSn7></a><br>
<br>
However, all of the smoothing functions I've seen (e.g. smth9) seem
to need a 2-dimensional variable to work. I'm probably asking a
silly question, but how do I smooth a contour plot that uses a
one-dimensional variable with spatial attributes?<br>
<br>
Best fishes<br>
Sam<br>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<title>email signature</title>
Sam McClatchie (fisheries oceanographer)<br>
& Elena Turin (accounting & auditing)<br>
FishOcean Enterprises<br>
38 Upland Rd, Huia, Auckland 0604, New Zealand<br>
cell: 027 752 8495<br>
<span style="text-decoration: underline;"><a
href="http://www.fishocean.info">Internet</a></span><br>
<img style="width: 150px; height: 149px;" alt=""
src="cid:part2.0EFB2FC9.E653E923@fishocean.info"><br>
<br>
"The time has come", the tui said,<br>
"to talk of many things:<br>
Of songs - and ferns - and flowering flax,<br>
of Pukekos and dreams ..."<br>
<br>
(not Lewis Carroll)
</div>
</body>
</html>