[Thread Prev][Thread Next][Index]

Re: [ferret_users] Ferret Question: Fill in combination with conset



Dear Volker, Ansley,

> You can get some smoothing in to the contours by regridding the data
> to a finer grid.

this is what I usuallyu do with wave data near the coast.  Keep in
mind that you're smoothing data, so you have to be careful that the
data still looks like the original enough.  I typically do either

shade  /lev=(...)  significant_wave_height     ! coarse blocks
fill /over /lev    significant_wave_height     ! overlay smoothed
                                               ! part, doesn't reach coastlines

when that fails, I use scat2gridgauss_xy to regrid the data to a much
finer grid, typically the grid of etopo05 or something similar.  This
has the advantage that you can use scat2grid_gauss to extrapolate
toward the coast a bit, so you don't get so much missing data.

let hs=significant_wave_height
smooth_hs = scat2gridgauss(xsequence(x[g=hs]), \
                           xsequence(y[g=hs]), \
                           xsequence(hs), \
			   x[g=rose], y[g=rose], 0.5, 0.5, 3, 0)

shade smooth_hs
contour /overlay smooth_hs

The resulting contours of a high resolution regrid are typically quite
smooth.  Again, beware of changing the data too much!  You have to
play with the xscale, yscale and cutoff parameters a bit depending on
the data and the target grid.

Kind regards,
     Hein


-- 

Dr. Hein Zelle
Senior consultant meteorology & oceanography

Tel:        +31 (0)527-242299
Fax:        +31 (0)527-242016
E-mail:     hein.zelle@xxxxxxxxxxxxx
Website:    www.bmtargoss.com
	    
BMT ARGOSS b.v.

Voorsterweg 28, 8316 PT Marknesse, the Netherlands
Postal address: P.O. Box 61, 8325 ZH Vollenhove, the Netherlands

Registered in The Netherlands, Registered no. 39060160.

Unless otherwise agreed by BMT ARGOSS in writing, all work,
services, goods or products supplied by BMT ARGOSS shall be subject
to and governed by BMT ARGOSS' own terms and conditions which are
available for inspection from BMT ARGOSS on request.

----Confidentiality Notice & Disclaimer---- 

The contents of this e-mail and any attachments are intended for the
use of the mail addressee(s) shown. If you are not that person, you
are not allowed to read it, to take any action based upon it or to
copy it, forward, distribute or disclose the contents of it and you
should please delete it from your system. BMT ARGOSS does not accept
liability for any errors or omissions in the context of this e-mail or
its attachments which arise as a result of internet transmission, nor
accept liability for statements which are those of the author and
clearly not made on behalf of BMT ARGOSS.


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement