[ncl-talk] Unable to generate plot from Lambert_conformal grid data

Debasish Hazra debasish.hazra5 at gmail.com
Wed Nov 9 08:55:59 MST 2022


Thanks Adam, unfortunately It did not work. I have attached a tried script
. I ma trying to put data in ftp, using this link
https://www.ncl.ucar.edu/ftp_files.shtml .But is not working.
Any help is appreciated.
Thanks,
Debasish.

On Mon, Nov 7, 2022 at 4:28 PM Adam Phillips <asphilli at ucar.edu> wrote:

> Hi Debasish,
> I do not have any experience working with lambert_conformal gridded data,
> but looking at your ncdump output there are variables named lat and lon
> that are 2D variables that I think you can use to plot the data directly
> using the lat2d/lon2d assignment method.
> I would try this:
>
> dustsfc = flt2dble(a1->dust)
> lev = a1->pfull
> dustsfc2 at lat2d = a1->lat
> dustsfc2 at lon2d = a1->lon
> labes = (/"Dust conc(ug/kg) at surface : 00FH"/)
>
>  wks_type = "png"
> ..... (continue using the rest of your script)
>
> If that does not work I would recommend creating a new netCDF file that
> only contains a single 3D variable, along with the first 8 variables shown
> in your ncdump output (pfull->lat), and send that new file to the ncl-talk
> email list. Include your most recent script and any error messages that you
> are getting as well.
> Good luck,
> Adam
>
> On Mon, Nov 7, 2022 at 12:35 PM Debasish Hazra via ncl-talk <
> ncl-talk at mailman.ucar.edu> wrote:
>
>> Hi,
>> I am trying to plot variable which is in lambert_conformal grid, but I am
>> not able to generate the plot. Attached is ncl_filedump and ncl script.Can
>> anyone point out how to do it. Thanks
>>
>> Debasish.
>> _______________________________________________
>> 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 IV, Climate Analysis Section
> Climate and Global Dynamics Laboratory
> National Center for Atmospheric Research
> www.cgd.ucar.edu/staff/asphilli/
>
> <http://www.cgd.ucar.edu/staff/asphilli>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20221109/db759dc1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test_lambert.ncl
Type: application/octet-stream
Size: 4177 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20221109/db759dc1/attachment.obj>


More information about the ncl-talk mailing list