[ncl-talk] Issue with namelist when using strings with spaces
Adam Phillips
asphilli at ucar.edu
Mon Aug 23 16:35:12 MDT 2021
Hi Andrew,
Can you send the snippet of code you are using here? If you do not want to
send it to the list, you can send it to me directly.
Adam
On Fri, Aug 20, 2021 at 4:07 PM Andrew Kren - NOAA Federal via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:
> Hi there,
>
> I made a namelist and one of my string variables has a city with spaces in
> between. By the guide on your site, spaces are treated as delimiters. Thus,
> I followed the guidance to use "<...>" to treat it as one string. However,
> even when doing this, I still get two strings. Is there a glitch? I have
> version 6.6.2.
>
> Variable: cwa_cities
> Type: string
> Total Size: 248 bytes
> 31 values
> Number of Dimensions: 1
> Dimensions and sizes: [31]
> Coordinates:
> Number Of Attributes: 1
> _FillValue : missing
> (0) <Chapel
> (1) Hill>
>
> Thanks,
>
> --
>
> Andrew Kren
> Meteorologist
> NOAA's National Weather Service
> Raleigh Forecast Office
> 1005 Capability Drive, Suite 300
> Raleigh, North Carolina 27606
> voice: 919-326-1035
> mailto: andrew.kren at noaa.govhttp://www.weather.gov/rah
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
--
Adam Phillips
Associate Scientist, Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/ 303-497-1726
<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210823/ce28387f/attachment.html>
More information about the ncl-talk
mailing list