[ncl-talk] Computing monthly-mean using daily (Julian days) ascii files data
najib.yusuf at carnasrda.com
najib.yusuf at carnasrda.com
Wed Jun 21 06:21:54 MDT 2017
Dear all,
I need assistance on how to compute monthly-mean from daily data
(julian days)from ascii files. So that i can plot the means (All Jan,
All Feb, .....All Dec means), obtaining 12 (mean) values and plot xy
line on same plot.
I tried, I got the plot of all the "Marker" points correct but I
couldn't succeed to compute and draw the mean xy-line. I tried the
NUG_manual but I couldn't get ascii file but .nc example and when i
tried to work-around, ofcourse, it did not work. Pls see other way I
tried attached. And below is the some-part of Printed output summary
from the attached file with error. The more i tried the more i get
different error. Pls direct me on how to achieve this. Thank you
Number Of Attributes: 1
_FillValue : missing
Variable: variables
Type: string
Total Size: 56 bytes
7 values
Number of Dimensions: 1
Dimensions and sizes: [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
(0) Day
(1) AOT_675
(2) AOT_500
(3) AOT_440
(4) 440-675Angstrom
(5) α
(6) AOT_550
Variable: files (subsection)
Type: string
Total Size: 8 bytes
1 values
Number of Dimensions: 1
Dimensions and sizes: [1]
Coordinates:
(0) /home/model-user/AOT_550_2006.txt
warning:asciiread: End of file reached and only (271) elements were read
from the file, filling remaining elements with the default missing value
for the requested type
Variable: z1
Type: string
Total Size: 2928 bytes
366 values
Number of Dimensions: 1
Dimensions and sizes: [366]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: new_str
Type: string
Total Size: 20496 bytes
2562 values
Number of Dimensions: 2
Dimensions and sizes: [366] x [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: variables
Type: string
Total Size: 56 bytes
7 values
Number of Dimensions: 1
Dimensions and sizes: [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
(0) Day
(1) AOT_675
(2) AOT_500
(3) AOT_440
(4) 440-675Angstrom
(5) α
(6) AOT_550
Variable: files (subsection)
Type: string
Total Size: 8 bytes
1 values
Number of Dimensions: 1
Dimensions and sizes: [1]
Coordinates:
(0) /home/model-user/AOT_550_2007.txt
warning:asciiread: End of file reached and only (301) elements were read
from the file, filling remaining elements with the default missing value
for the requested type
Variable: z1
Type: string
Total Size: 2928 bytes
366 values
Number of Dimensions: 1
Dimensions and sizes: [366]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: new_str
Type: string
Total Size: 20496 bytes
2562 values
Number of Dimensions: 2
Dimensions and sizes: [366] x [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: variables
Type: string
Total Size: 56 bytes
7 values
Number of Dimensions: 1
Dimensions and sizes: [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
(0) Day
(1) AOT_675
(2) AOT_500
(3) AOT_440
(4) N[440-675Angstrom]
(5) α
(6) AOT_550
Variable: files (subsection)
Type: string
Total Size: 8 bytes
1 values
Number of Dimensions: 1
Dimensions and sizes: [1]
Coordinates:
(0) /home/model-user/AOT_550_2008.txt
warning:asciiread: End of file reached and only (217) elements were read
from the file, filling remaining elements with the default missing value
for the requested type
Variable: z1
Type: string
Total Size: 2928 bytes
366 values
Number of Dimensions: 1
Dimensions and sizes: [366]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: new_str
Type: string
Total Size: 20496 bytes
2562 values
Number of Dimensions: 2
Dimensions and sizes: [366] x [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: variables
Type: string
Total Size: 56 bytes
7 values
Number of Dimensions: 1
Dimensions and sizes: [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
(0) Day
(1) AOT_675
(2) AOT_500
(3) AOT_440
(4) 440-675Angstrom
(5) α
(6) AOT_550
Variable: files (subsection)
Type: string
Total Size: 8 bytes
1 values
Number of Dimensions: 1
Dimensions and sizes: [1]
Coordinates:
(0) /home/model-user/AOT_550_2009.txt
warning:asciiread: End of file reached and only (179) elements were read
from the file, filling remaining elements with the default missing value
for the requested type
Variable: z1
Type: string
Total Size: 2928 bytes
366 values
Number of Dimensions: 1
Dimensions and sizes: [366]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: new_str
Type: string
Total Size: 20496 bytes
2562 values
Number of Dimensions: 2
Dimensions and sizes: [366] x [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: variables
Type: string
Total Size: 56 bytes
7 values
Number of Dimensions: 1
Dimensions and sizes: [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
(0) Day
(1) AOT_675
(2) AOT_500
(3) AOT_440
(4) 440-675Angstrom
(5) α
(6) AOT_550
Variable: files (subsection)
Type: string
Total Size: 8 bytes
1 values
Number of Dimensions: 1
Dimensions and sizes: [1]
Coordinates:
(0) /home/model-user/AOT_550_2010.txt
warning:asciiread: End of file reached and only (10) elements were read
from the file, filling remaining elements with the default missing value
for the requested type
Variable: z1
Type: string
Total Size: 2928 bytes
366 values
Number of Dimensions: 1
Dimensions and sizes: [366]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: new_str
Type: string
Total Size: 20496 bytes
2562 values
Number of Dimensions: 2
Dimensions and sizes: [366] x [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: variables
Type: string
Total Size: 56 bytes
7 values
Number of Dimensions: 1
Dimensions and sizes: [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
(0) Day
(1) AOT_675
(2) AOT_500
(3) AOT_440
(4) 440-675Angstrom
(5) α
(6) AOT_550
Variable: files (subsection)
Type: string
Total Size: 8 bytes
1 values
Number of Dimensions: 1
Dimensions and sizes: [1]
Coordinates:
(0) /home/model-user/AOT_550_2011.txt
warning:asciiread: End of file reached and only (90) elements were read
from the file, filling remaining elements with the default missing value
for the requested type
Variable: z1
Type: string
Total Size: 2928 bytes
366 values
Number of Dimensions: 1
Dimensions and sizes: [366]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: new_str
Type: string
Total Size: 20496 bytes
2562 values
Number of Dimensions: 2
Dimensions and sizes: [366] x [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: variables
Type: string
Total Size: 56 bytes
7 values
Number of Dimensions: 1
Dimensions and sizes: [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
(0) Day
(1) AOT_675
(2) AOT_500
(3) AOT_440
(4) 440-675Angstrom
(5) α
(6) AOT_550
Variable: files (subsection)
Type: string
Total Size: 8 bytes
1 values
Number of Dimensions: 1
Dimensions and sizes: [1]
Coordinates:
(0) /home/model-user/AOT_550_2012.txt
warning:asciiread: End of file reached and only (250) elements were read
from the file, filling remaining elements with the default missing value
for the requested type
Variable: z1
Type: string
Total Size: 2928 bytes
366 values
Number of Dimensions: 1
Dimensions and sizes: [366]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: new_str
Type: string
Total Size: 20496 bytes
2562 values
Number of Dimensions: 2
Dimensions and sizes: [366] x [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: variables
Type: string
Total Size: 56 bytes
7 values
Number of Dimensions: 1
Dimensions and sizes: [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
(0) Day
(1) AOT_675
(2) AOT_500
(3) AOT_440
(4) 440-675Angstrom
(5) α
(6) AOT_550
Variable: files (subsection)
Type: string
Total Size: 8 bytes
1 values
Number of Dimensions: 1
Dimensions and sizes: [1]
Coordinates:
(0) /home/model-user/AOT_550_2013.txt
warning:asciiread: End of file reached and only (125) elements were read
from the file, filling remaining elements with the default missing value
for the requested type
Variable: z1
Type: string
Total Size: 2928 bytes
366 values
Number of Dimensions: 1
Dimensions and sizes: [366]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: new_str
Type: string
Total Size: 20496 bytes
2562 values
Number of Dimensions: 2
Dimensions and sizes: [366] x [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: variables
Type: string
Total Size: 56 bytes
7 values
Number of Dimensions: 1
Dimensions and sizes: [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
(0) Day
(1) AOT_675
(2) AOT_500
(3) AOT_440
(4) 440-675Angstrom
(5) α
(6) AOT_550
Variable: files (subsection)
Type: string
Total Size: 8 bytes
1 values
Number of Dimensions: 1
Dimensions and sizes: [1]
Coordinates:
(0) /home/model-user/AOT_550_2014.txt
warning:asciiread: End of file reached and only (157) elements were read
from the file, filling remaining elements with the default missing value
for the requested type
Variable: z1
Type: string
Total Size: 2928 bytes
366 values
Number of Dimensions: 1
Dimensions and sizes: [366]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: new_str
Type: string
Total Size: 20496 bytes
2562 values
Number of Dimensions: 2
Dimensions and sizes: [366] x [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
Variable: variables
Type: string
Total Size: 56 bytes
7 values
Number of Dimensions: 1
Dimensions and sizes: [7]
Coordinates:
Number Of Attributes: 1
_FillValue : missing
(0) Day
(1) AOT_675
(2) AOT_500
(3) AOT_440
(4) 440-675Angstrom
(5) α
(6) AOT_550
Variable: AOT_550_all
Type: float
Total Size: 14600 bytes
3650 values
Number of Dimensions: 2
Dimensions and sizes: [years | 10] x [days | 365]
Coordinates:
Number Of Attributes: 1
_FillValue : 9.96921e+36
Variable: files
Type: string
Total Size: 80 bytes
10 values
Number of Dimensions: 1
Dimensions and sizes: [10]
Coordinates:
(0) /home/model-user/AOT_550_2005.txt
(1) /home/model-user/AOT_550_2006.txt
(2) /home/model-user/AOT_550_2007.txt
(3) /home/model-user/AOT_550_2008.txt
(4) /home/model-user/AOT_550_2009.txt
(5) /home/model-user/AOT_550_2010.txt
(6) /home/model-user/AOT_550_2011.txt
(7) /home/model-user/AOT_550_2012.txt
(8) /home/model-user/AOT_550_2013.txt
(9) /home/model-user/AOT_550_2014.txt
fatal:Undefined identifier: (years) is undefined, can't continue
fatal:["Execute.c":8573]:Execute: Error occurred at or near line 66
ncl 105>
Any assistance will really be appreciated.
Thank you
Najib
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ncl-talk
Url: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170621/c0a8b2b5/attachment.pl
More information about the ncl-talk
mailing list