[ncl-talk] Plot csv file

Anahita Amiri Farahani aamir003 at ucr.edu
Thu Dec 3 22:05:25 MST 2020


Thank you so much!

On Thu, Dec 3, 2020 at 7:12 PM Dennis Shea <shea at ucar.edu> wrote:

> 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/20201204/4f22cf88/attachment.html>


More information about the ncl-talk mailing list