[ncl-talk] hdf_to_nc_and_mergetime

Adam Phillips asphilli at ucar.edu
Wed Aug 3 17:21:28 MDT 2022


Hi Kunal,
According to the ListSetType documentation: When one uses the join option,
the input variables from each file must be the same size.
https://www.ncl.ucar.edu/Document/Functions/Built-in/ListSetType.shtml

Your four files vary in the 1st and the 3rd dimension:
; [nCandidate | 8] x [nWavel | 3] x [YDim | 161] x [XDim | 1440]
; [nCandidate | 7] x [nWavel | 3] x [YDim | 161] x [XDim | 1440]
; [nCandidate | 7] x [nWavel | 3] x [YDim | 160] x [XDim | 1440]
; [nCandidate | 7] x [nWavel | 3] x [YDim | 161] x [XDim | 1440]

Hope that helps! If you have any further questions please respond to the
ncl-talk email list.
Adam

On Fri, Jul 29, 2022 at 3:09 AM Kunal Bali via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:

> Dear NCL users,
>
> I am trying to convert the .nc4 (or hdf) to .nc (or classic .nc) and then
> merge with timesteps by using the attached script (create_time.ncl).
> But, it's not working. I am getting error messages as
>
> [image: Screen Shot 2022-07-29 at 1.04.39 AM.png]
>
> If you need samples data, you can find over
> https://www.dropbox.com/s/978vyxtttutwcq0/Archive.zip?dl=0
>
> Desired variable is "FinalAerosolOpticalDepth"
>
> Thanks
> ---
> Kunal
>
>
> _______________________________________________
> 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/20220803/341937dd/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2022-07-29 at 1.04.39 AM.png
Type: image/png
Size: 1273023 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20220803/341937dd/attachment-0001.png>


More information about the ncl-talk mailing list