[ncl-talk] addfiles error in ncl

Debasish Hazra debasish.hazra5 at gmail.com
Thu Dec 3 14:22:13 MST 2015


Thanks David and Mary.

Debasish.

On Mon, Nov 30, 2015 at 9:02 PM, David Brown <dbrown at ucar.edu> wrote:

> I am pretty sure the problem here is simply that the variable in
> question MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean does not
> have the same type for all the four sample files provided with  the
> trouble ticket.
>
>
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20131101.180W_90S_180E_90N.nc
>
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20131201.180W_90S_180E_90N.nc
>
> have the variable as type float, while:
>
>
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20140101.180W_90S_180E_90N.nc
>
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20140201.180W_90S_180E_90N.nc
>
> have the variable as type double.
>
> Variables must have the same type for aggregation to work. The error
> message is noting that the size of the individual aggregation chunk
> are not all the same. Doubles occupy twice as much space as floats.
>
>  -dave
>
>
>
>
>
> On Mon, Nov 30, 2015 at 9:32 AM, Mary Haley <haley at ucar.edu> wrote:
> > Debasish,
> >
> > I have filed a trouble ticket on this, NCL-2315.
> >
> > There's something about file #132 that is causing a problem. I can read a
> > variable from files [0:131] or [132:], but for some reason, combining
> files
> > 131 and 132 is a problem.
> >
> > You may want to double check the "time" variable in your files, because I
> > noticed that the files represented by the dates 20030501 and 20030601
> have
> > the same time value of 1051747200. This is definitely going to be an
> issue,
> > but for some reason, NCL didn't seem to fail on these two files.
> >
> > --Mary
> >
> >
> > On Wed, Nov 25, 2015 at 3:57 PM, Mary Haley <haley at ucar.edu> wrote:
> >>
> >> Thanks Debasish!  I do see the problem and am looking into it.
> >>
> >> For starters, though, I think you want "cat" mode and not "join" mode.
> >> "cat" mode will append your time values. Otherwise, you end up with a
> 144 x
> >> 1 x 180 x 360 array, when I think what you want is a 144 x 180 x 360
> array.
> >>
> >> But, it fails in "cat" mode too, right when it hits file #132.
> >>
> >> We are off Thursday and Friday for Thanksgiving holiday, so I may not
> get
> >> back to this right away.
> >>
> >> I appreciate you providing the files.
> >>
> >> --Mary
> >>
> >>
> >> On Wed, Nov 25, 2015 at 3:29 PM, Debasish Hazra
> >> <debasish.hazra5 at gmail.com> wrote:
> >>>
> >>> Thanks Mary. I attached the script along with this email and uploaded
> the
> >>> files in ftp.
> >>>
> >>> Debasish.
> >>>
> >>> On Wed, Nov 25, 2015 at 4:57 PM, Mary Haley <haley at ucar.edu> wrote:
> >>>>
> >>>> Debasish,
> >>>>
> >>>> Can you create a small clean script that shows the problem with just a
> >>>> subset of the files, and then provide me with the script and the
> files?
> >>>>
> >>>> Thanks,
> >>>>
> >>>> --Mary
> >>>>
> >>>>
> >>>> On Wed, Nov 25, 2015 at 2:02 PM, Debasish Hazra
> >>>> <debasish.hazra5 at gmail.com> wrote:
> >>>>>
> >>>>> Mary,
> >>>>>
> >>>>> I tried your inclusion in the code. Variable exists in all files.
> >>>>>
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20030101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20030201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20030301.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20030401.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20030501.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20030601.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20030701.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20030801.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20030901.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20031001.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20031101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20031201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20040101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20040201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20040301.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20040401.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20040501.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20040601.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20040701.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20040801.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20040901.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20041001.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20041101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20041201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20050101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20050201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20050301.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20050401.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20050501.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20050601.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20050701.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20050801.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20050901.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20051001.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20051101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20051201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20060101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20060201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20060301.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20060401.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20060501.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20060601.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20060701.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20060801.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20060901.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20061001.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20061101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20061201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20070101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20070201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20070301.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20070401.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20070501.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20070601.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20070701.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20070801.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20070901.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20071001.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20071101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20071201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20080101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20080201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20080301.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20080401.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20080501.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20080601.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20080701.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20080801.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20080901.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20081001.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20081101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20081201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20090101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20090201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20090301.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20090401.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20090501.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20090601.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20090701.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20090801.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20090901.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20091001.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20091101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20091201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20100101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20100201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20100301.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20100401.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20100501.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20100601.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20100701.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20100801.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20100901.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20101001.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20101101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20101201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20110101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20110201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20110301.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20110401.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20110501.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20110601.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20110701.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20110801.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20110901.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20111001.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20111101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20111201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20120101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20120201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20120301.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20120401.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20120501.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20120601.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20120701.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20120801.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20120901.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20121001.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20121101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20121201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20130101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20130201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20130301.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20130401.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20130501.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20130601.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20130701.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20130801.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20130901.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20131001.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20131101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20131201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20140101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20140201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20140301.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20140401.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20140501.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20140601.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20140701.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20140801.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20140901.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20141001.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20141101.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> (0)     Is variable on file
> >>>>> '../../MODIS/Monthly/AOD/
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20141201.180W_90S_180E_90N.nc
> '?
> >>>>> True
> >>>>> fatal:incorrect size for list filevar subselection
> >>>>> fatal:["Execute.c":8578]:Execute: Error occurred at or near line 41
> in
> >>>>> file aerosl2d_modis.ncl
> >>>>>
> >>>>> But it shows error in the line : mod_aod =
> >>>>> m[:]->MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean
> >>>>>
> >>>>> Debasish.
> >>>>>
> >>>>> On Wed, Nov 25, 2015 at 3:34 PM, Mary Haley <haley at ucar.edu> wrote:
> >>>>>>
> >>>>>> Debasish,
> >>>>>>
> >>>>>> Is the error message the same? If so, you should verify that the
> >>>>>> variable "MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean"
> exists on all
> >>>>>> files.
> >>>>>>
> >>>>>> To verify this, try:
> >>>>>>
> >>>>>> vname = "MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean"
> >>>>>> do n=0,dimsizes(fname)-1
> >>>>>>   var_exists = isfilevar(m[n],vname)
> >>>>>>   print("Is variable on file '" + fname(n) + "'? " + var_exists)
> >>>>>> end do
> >>>>>>
> >>>>>> If you are getting a different error message, then please include
> >>>>>> this, and include the code again.
> >>>>>>
> >>>>>> Thanks,
> >>>>>>
> >>>>>> --Mary
> >>>>>>
> >>>>>>
> >>>>>> On Wed, Nov 25, 2015 at 12:12 PM, Debasish Hazra
> >>>>>> <debasish.hazra5 at gmail.com> wrote:
> >>>>>>>
> >>>>>>> Kyle,
> >>>>>>>
> >>>>>>> Thanks. I tried with your option :
> >>>>>>> fname = systemfunc("ls -1 ../../MODIS/Monthly/AOD/*.nc")
> >>>>>>>  m = addfiles(fname,"r")
> >>>>>>>        ListSetType (m, "join")
> >>>>>>>
> >>>>>>>            print(m)
> >>>>>>> and it printed out all the 144 file names. I have attached a text
> >>>>>>> file of the output. But still shows, it cannot read that variable.
> >>>>>>>
> >>>>>>> Debasish
> >>>>>>>
> >>>>>>> On Wed, Nov 25, 2015 at 1:38 PM, Kyle Griffin <ksgriffin2 at wisc.edu
> >
> >>>>>>> wrote:
> >>>>>>>>
> >>>>>>>> Have you considered the input to addfiles? You appear to be
> passing
> >>>>>>>> the filesize value (column 5 when you run ls -l (lower case L) in
> your
> >>>>>>>> directory) to the NCL function. I can't imagine this is intended,
> as
> >>>>>>>> addfiles is looking for the file name itself - but fname ends up
> as the
> >>>>>>>> size, not the name. Even if you were getting them as names, you
> then run
> >>>>>>>> toint(fname), which should fail if you were actually getting the
> names as
> >>>>>>>> strings.
> >>>>>>>>
> >>>>>>>> Try using 'ls -1 filenames*.nc' (the number one) and this should
> >>>>>>>> print out all of your files in that directory with one name on
> each line, a
> >>>>>>>> format that addfiles will read from quite well and you can avoid
> your use of
> >>>>>>>> awk. Your current method could also work, but would require
> pulling a later
> >>>>>>>> column in the awk command (perhaps 9?).
> >>>>>>>>
> >>>>>>>> Consider what you actually want your 'print(fsz)' statement to
> >>>>>>>> output...you do well by looking at it, but that output is showing
> you the
> >>>>>>>> problem of trying to read the variable from a bunch of numbers
> and not
> >>>>>>>> files.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Kyle
> >>>>>>>>
> >>>>>>>> ----------------------------------------
> >>>>>>>> Kyle S. Griffin
> >>>>>>>> Department of Atmospheric and Oceanic Sciences
> >>>>>>>> University of Wisconsin - Madison
> >>>>>>>> Room 1407
> >>>>>>>> 1225 W Dayton St, Madison, WI 53706
> >>>>>>>> Email: ksgriffin2 at wisc.edu
> >>>>>>>>
> >>>>>>>> On Wed, Nov 25, 2015 at 12:28 PM, Debasish Hazra
> >>>>>>>> <debasish.hazra5 at gmail.com> wrote:
> >>>>>>>>>
> >>>>>>>>> Hi,
> >>>>>>>>>
> >>>>>>>>>  I am trying to read  bunch of files in ncl and at first it gave
> "
> >>>>>>>>> ncl fatal:incorrect size for list filevar subselection" error.
> Followed by
> >>>>>>>>> ncl examples I tried something like this :
> >>>>>>>>>
> >>>>>>>>>  fname = systemfunc("ls -l ../../MODIS/Monthly/AOD/*.nc | awk
> >>>>>>>>> '{print $5}' ")
> >>>>>>>>>        fsz = toint(fname)
> >>>>>>>>>        m = addfiles(fsz,"r")
> >>>>>>>>>        ListSetType (m, "join")
> >>>>>>>>>
> >>>>>>>>>            print(fsz)
> >>>>>>>>>            printVarSummary(fsz)
> >>>>>>>>>
> >>>>>>>>>          mod_aod =
> >>>>>>>>> m[:]->MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean
> >>>>>>>>>
> >>>>>>>>> which print outs and gave error as :
> >>>>>>>>>
> >>>>>>>>>  Variable: fsz
> >>>>>>>>> Type: integer
> >>>>>>>>> Total Size: 576 bytes
> >>>>>>>>>             144 values
> >>>>>>>>> Number of Dimensions: 1
> >>>>>>>>> Dimensions and sizes:   [144]
> >>>>>>>>> Coordinates:
> >>>>>>>>> (0)     264160
> >>>>>>>>> (1)     263836
> >>>>>>>>> (2)     263836
> >>>>>>>>> (3)     263836
> >>>>>>>>> (4)     263836
> >>>>>>>>> (5)     263836
> >>>>>>>>> (6)     263836
> >>>>>>>>> (7)     263836
> >>>>>>>>> (8)     263836
> >>>>>>>>> (9)     263836
> >>>>>>>>> [SNIP]
> >>>>>>>>> (133)   522664
> >>>>>>>>> (134)   522664
> >>>>>>>>> (135)   522664
> >>>>>>>>> (136)   522664
> >>>>>>>>> (137)   522664
> >>>>>>>>> (138)   522668
> >>>>>>>>> (139)   522668
> >>>>>>>>> (140)   522668
> >>>>>>>>> (141)   522668
> >>>>>>>>> (142)   522664
> >>>>>>>>> (143)   522664
> >>>>>>>>>
> >>>>>>>>> fatal:No valid instance of variable
> >>>>>>>>> MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean found in
> file list
> >>>>>>>>>
> >>>>>>>>> However, ncl_filedump of this files show :
> >>>>>>>>>
> g4.subsetted.MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean.20130701.180W_90S_180E_90N.nc
> >>>>>>>>>
> >>>>>>>>> shows
> >>>>>>>>> title : MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean
> >>>>>>>>> (180W_90S_180E_90N)
> >>>>>>>>>    dimensions:
> >>>>>>>>>       time = 1  // unlimited
> >>>>>>>>>       lat = 180
> >>>>>>>>>       lon = 360
> >>>>>>>>>    variables:
> >>>>>>>>>       float MYD08_M3_051_Optical_Depth_Land_And_Ocean_Mean_Mean (
> >>>>>>>>> time, lat, lon )
> >>>>>>>>>
> >>>>>>>>> Any help why this one is not working. Thanks.
> >>>>>>>>>
> >>>>>>>>> Attached is the one of the many identical files I was trying to
> >>>>>>>>> work on.
> >>>>>>>>>
> >>>>>>>>> Debasish.
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> _______________________________________________
> >>>>>>>>> ncl-talk mailing list
> >>>>>>>>> ncl-talk at ucar.edu
> >>>>>>>>> List instructions, subscriber options, unsubscribe:
> >>>>>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> _______________________________________________
> >>>>>>> ncl-talk mailing list
> >>>>>>> ncl-talk at ucar.edu
> >>>>>>> List instructions, subscriber options, unsubscribe:
> >>>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>
> >
> >
> > _______________________________________________
> > ncl-talk mailing list
> > ncl-talk at ucar.edu
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151203/c0fbfdea/attachment.html 


More information about the ncl-talk mailing list