[ncl-talk] Plot csv file
Dennis Shea
shea at ucar.edu
Thu Dec 3 17:12:06 MST 2020
There are several *wrong* assignments. For example, the following is not
correct.
total= new((/5,21488/),typeof(bc),bc at _FillValue)
[SNIP]
total!0 = "lat"
total!1 = "lon"
======
The following dimension names would be more appropriate for the 'total'
variable. There are 5 (=ncol) variables.
N = *dimsizes*(lat1)
total= *new*((/ncol,N/),*typeof*(bc),bc at _FillValue)
total!0 = "variable" ; 0->longitude, 1->latitude, 2->NO,
3->NO2, 4->BC
total!1 = "value"
=======
The attached is a modification of the following example.
See: *http://www.ncl.ucar.edu/Applications/station.shtml*
<http://www.ncl.ucar.edu/Applications/station.shtml>
Example 1
On Thu, Dec 3, 2020 at 11:22 AM Anahita Amiri Farahani via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:
> Hello all,
>
> I tried to read and plot the csv data, but I faced some errors. I've
> attached both data and the code.
>
> Thank you,
> ana
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201203/a116ffca/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Anahita_csv.ncl
Type: application/octet-stream
Size: 2135 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201203/a116ffca/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BOOK4.000001.png
Type: image/png
Size: 177794 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201203/a116ffca/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BOOK4.000002.png
Type: image/png
Size: 159062 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201203/a116ffca/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BOOK4.000003.png
Type: image/png
Size: 189906 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201203/a116ffca/attachment-0005.png>
More information about the ncl-talk
mailing list