[Met_help] fm theo carter dubai
John Halley Gotway
johnhg at rap.ucar.edu
Tue Jun 16 06:38:49 MDT 2009
Theo,
I'm guessing that you have a trailing space in the first line of the polyline file. I tried adding a trailing space to the first line of a polyline file and running it through the Gen-Poly-Mask tool,
and I saw the exact same error message -> NetCDF: Name contains illegal characters
So edit the file UAE.poly by removing any trailing spaces from the lines, and try rerunning it through Gen-Poly-Mask.
Thanks,
John
Theo Carter wrote:
> Hi John
>
>
>
> Thank you for the help so far. I have hit a snag trying to create the
> bitmap mask using Gen-Poly-Mask and cannot figure out what is going
> wrong.
>
>
>
> I use the .poly polyline file you sent through to create the mask with:
> It has been renamed UAE.poly and in it is the following (which came
> from you)
>
> UAE
>
>
> 26.242 56.074
>
>
> 25.669 56.503
>
>
> 25.013 56.492
>
>
> 24.054 56.107
>
>
> 22.418 55.283
>
>
> 22.885 52.394
>
>
> 24.134 51.526
>
>
> 24.534 51.537
>
>
> 24.714 54.053
>
>
>
>
>
> I then tried this on two different .grb files - firstly the wrf output
> from my wrf arw here and then on a gfs .grb file and got the same
> result using:
>
>
>
> bin/gen_poly_mask 20090614/wrfarwoutput/wrfpst_d01_20090613_1200_f02400.grb data/poly/UAE.poly 20090614/polybitmap.nc
>
> Input Data File: 20090614/wrfarwoutput/wrfpst_d01_20090613_1200_f02400.grb
>
> Input Poly File: data/poly/UAE.poly
>
> Parsed Grid: Lambert Conformal (256 x 192)
>
> containing 8 points 26.242 56.074
>
> NetCDF: Name contains illegal characters
>
> [wrf at localhost METv2.0]$ bin/gen_poly_mask
> 20090614/wrfarwoutput/wrfpst_d01_20090613_1200_f02400.grb
> data/poly/UAE.poly 20090614/polybitmap.nc
>
> Input Data File: 20090614/wrfarwoutput/wrfpst_d01_20090613_1200_f02400.grb
>
> Input Poly File: data/poly/UAE.poly
>
> Parsed Grid: Lambert Conformal (256 x 192)
>
> containing 8 points 26.242 56.074
>
> NetCDF: Name contains illegal characters
>
> [wrf at localhost METv2.0]$ bin/gen_poly_mask
> 20090614/wrfarwoutput/wrfpst_d01_20090613_1200_f02400.grb
> data/poly/UAE.poly 20090614/polybitmap.nc
>
> Input Data File: 20090614/wrfarwoutput/wrfpst_d01_20090613_1200_f02400.grb
>
> Input Poly File: data/poly/UAE.poly
>
> Parsed Grid: Lambert Conformal (256 x 192)
>
> containing 9 points UAE
>
> NetCDF: Name contains illegal characters
>
> [wrf at localhost METv2.0]$ bin/gen_poly_mask theotest2/gfs_3_20090608_0000_000.grb data/poly/UAE.poly 20090614/polybitmap.nc
>
> Input Data File: theotest2/gfs_3_20090608_0000_000.grb
>
> Input Poly File: data/poly/UAE.poly
>
> Parsed Grid: LatLon (360 x 181)
>
> containing 9 points UAE
>
> NetCDF: Name contains illegal characters
>
> [wrf at localhost METv2.0]$
>
>
>
> I tried renaming all the files and whatever I could think of, can you
> spot anything stupid or something I am doing wrong in my method here?
>
> Cheers,
>
> Theo
>
>
More information about the Met_help
mailing list