[Thread Prev][Thread Next][Index]
[ferret_users] Script crashed -- scat2gridgauss_xy
- To: ferret_users@xxxxxxxx
- Subject: [ferret_users] Script crashed -- scat2gridgauss_xy
- From: Szymon Roziewski <szymon.roziewski@xxxxxxxxx>
- Date: Fri, 28 Jan 2011 13:44:04 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=ocHxWgNOKLX/Ws1wt8tC6gqiiJG6IGYB0HqwgWu7AXg=; b=UHn+KFS8asAzk7xzspFjqLit22t6bdi6sYNjHQ8CKBtACFPAkcyq/gAnUS6xOwA9YD 166RDlXaFqoA/i0Ts1BXa9xegXNpeHfHrrJ2Seg87cM8MrDDys/x8ZlnVT4JgRMZ8stt BnsvsveGIcnIAr01Qq0BWOsrMuWo8Xq8EKzTk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Dq59n3/OaSFtK6s7gOHq5EofO0ye3gheS5JTgawveN7ONXIwco2Zdy0gNCXPZmMHHJ UKowPqU0et+iPOh+8iZi24+ZtjQvCUNTaiq1GLjp/D6tVvcDPsVRujMYDwgC1RFBz1A2 sYR4+8w64r5jznR9xLskCMGyilHrrHpEF0icw=
- Sender: owner-ferret_users@xxxxxxxx
Dear Ferreters,
I have such a script:
set win/size=6.0/aspect=`1.1`
SET VIEWPORT FULL
CANCEL MODE LOGO
DEFINE AXIS/X=-5.666666667:5.25:0.083333333/unit=degree xlon
DEFINE AXIS/Y=-2.0:10.0:0.083333333/unit=degree ylat
DEFINE GRID/x=xlon/y=ylat grid_xlon_xlat
FILE/VARIABLES=swh_grid/COLUMNS=132/GRID=grid_xlon_xlat swh20101018090000.txt
set var/bad=-1 swh_grid
set var/units=meters swh_grid
set var/title="Significant Wave Height" swh_grid
DEFINE AXIS/X=-5.666666667:5.25:0.010416667/unit=degree xfine
DEFINE AXIS/Y=-2.0:10.0:0.010416667/unit=degree yfine
DEFINE GRID/x=xfine/y=yfine fine_grid
let xpts = xsequence(0*swh_grid+x[g=swh_grid])
let ypts = xsequence(0*swh_grid+y[g=swh_grid])
let datapts = xsequence(swh_grid)
let xscale=0.1
let yscale=0.1
let cutoff=2
let swh_smooth = scat2gridgauss_xy(xpts,ypts,datapts,x[g=fine_grid],y[g=fine_grid],xscale,yscale,cutoff,0)
list swh_smooth
wchich should do interpolation data, but it doesn't. The script follows up to the line with list swh_smooth and as reached as is iddle.
I think the line with scat2gridgauss_xy function failed. But I don't know the reason.
Why is that I don't know. I have very similar script which copes with cdf data and do it well.
But in this case previous approach failed. (When I try using txt data with flag bad=-1.)
I attach the data file.
Kind regards,
Szymon Roziewski
Attachment:
swh20101018090000.tar.bz
Description: application/bzip
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement