[ncl-talk] A "bug" in reading comma separated files?

Barry Lynn barry.h.lynn at gmail.com
Fri Aug 31 05:27:16 MDT 2018


Please run this program in the following manner:

ncl ./parse_tau_obs.ncl year1=18 month1=08 day1=31


What you'll find is that the program skips over the double comma. The data
that missing between the commas is the "Visibility." But, instead of noting
visibility as missing it just moves on to the next variable, writing the
next variable (WindChill) to Visibility.

0) TemperatureC = "TemperatureC"

(1) TemperatureC = 27.4374727668845

(2) TemperatureC = 27.4374727668845

(0) VisibilityKilometers = "VisibilityKilometers"

(1) VisibilityKilometers = 27.4374727668845

(2) VisibilityKilometers = 27.4374727668845

(0) WindChillC = "WindChillC"

(1) WindChillC = 3.52784036047634

(2) WindChillC = 3.52784036047634

Thank you for your suggestions.

Barry
-- 
Barry H. Lynn, Ph.D
Senior Associate Scientist, Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
Hello:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180831/42b2df20/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parse_tau_obs.ncl
Type: application/octet-stream
Size: 5552 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180831/42b2df20/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: weather_it_is_telav_20180831_052522.csv
Type: text/csv
Size: 1189 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180831/42b2df20/attachment.csv>


More information about the ncl-talk mailing list