[gradsusr] Fitting between coastlines and swell field

Rabah Hachelaf r.hachelaf at gmail.com
Wed Nov 26 08:23:25 EST 2014


Hi Kieren,
what kind of shapefile did you use in this example.

Thanks.

Rabah

2014-11-25 1:58 GMT-05:00 Marsh, Kieren [FGUAE] <k.marsh at fugro-uae.com>:

>  You need to use the const function to set all missing values to 0
>
>
>
> ‘d const(*your_swell_field*, 0, -u)
>
>
>
> This will fill in the blanks as if they were zero, including the land.
> What you then need to do is draw a map over the top of this using the
> shapefile functions.
>
>
>
>
>
> ‘set rgb 31 240 240 170’
>
> ‘set shpopts 31’
>
> ‘draw shp /../*your_shape_file_location*’
>
>
>
> Above example is using NCEP mww3 data.
>
>
>
>
> *Kieren Marsh *
>
>
>
> *From:* gradsusr-bounces at gradsusr.org [mailto:
> gradsusr-bounces at gradsusr.org] *On Behalf Of *Rabah Hachelaf
> *Sent:* 22 November 2014 02:04
> *To:* GrADS Users Forum
> *Subject:* [gradsusr] Fitting between coastlines and swell field
>
>
>
> Hi GRADS users,
>
>
>
> I have an issue about empty grid cells between my field (swell) and coasts.
>
> my data has a resolution of 0.05°.(like shown in attached image)
>
>
>
> is there some command or tick to avoid this empty area.
>
>
>
> Thank you.
>
>
>
>  Rabah
>
> --
>
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
------------------------------
Cordialement,
Best regards,
Rabah Hachelaf
     ____
    (       )
   (        )
  (___ __)
   /////////
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20141126/ec58b6f9/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1542 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20141126/ec58b6f9/attachment.png 


More information about the gradsusr mailing list