From debasish.hazra5 at gmail.com Tue Feb 3 12:37:41 2026 From: debasish.hazra5 at gmail.com (Debasish Hazra) Date: Tue, 3 Feb 2026 14:37:41 -0500 Subject: [ncl-talk] reading station data Message-ID: Hi, I am trying to read station data with header and column of data, with COlumn lengths are not equal in files and have attached one example file in the attachment. Can someone help to point what ascii read command to be used to extract time and column information from these files. Thanks Debasish. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 20240401_20240430_CATUC_Bamenda.lev15 Type: application/octet-stream Size: 204390 bytes Desc: not available URL: From dave.allured at noaa.gov Tue Feb 3 15:50:16 2026 From: dave.allured at noaa.gov (Dave Allured - NOAA Affiliate) Date: Tue, 3 Feb 2026 15:50:16 -0700 Subject: [ncl-talk] reading station data In-Reply-To: References: Message-ID: Debasish, that is a CSV file with header lines. Use *asciiread* to read the entire file as strings. Then use string parsing functions such as *str_split_csv* and/or *str_get_field* to get individual columns. Examples *csv_3.ncl* and *csv4_ncl* are close to what you want to do. https://www.ncl.ucar.edu/Applications/read_csv.shtml On Tue, Feb 3, 2026 at 12:38?PM Debasish Hazra via ncl-talk < ncl-talk at mailman.ucar.edu> wrote: > Hi, > I am trying to read station data with header and column of data, with > COlumn lengths are not equal in files and have attached one example file in > the attachment. Can someone help to point what ascii read command to be > used to extract time and column information from these files. > Thanks > Debasish. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shea at ucar.edu Tue Feb 3 16:04:24 2026 From: shea at ucar.edu (Dennis Shea) Date: Tue, 3 Feb 2026 16:04:24 -0700 Subject: [ncl-talk] reading station data In-Reply-To: References: Message-ID: Also at *https://www.ncl.ucar.edu/Applications */ Look under* File I/O* see: *Read ascii* On Tue, Feb 3, 2026 at 3:50?PM Dave Allured - NOAA Affiliate via ncl-talk < ncl-talk at mailman.ucar.edu> wrote: > Debasish, that is a CSV file with header lines. Use *asciiread* to read > the entire file as strings. Then use string parsing functions such as > *str_split_csv* and/or *str_get_field* to get individual columns. > Examples *csv_3.ncl* and *csv4_ncl* are close to what you want to do. > > https://www.ncl.ucar.edu/Applications/read_csv.shtml > > > On Tue, Feb 3, 2026 at 12:38?PM Debasish Hazra via ncl-talk < > ncl-talk at mailman.ucar.edu> wrote: > >> Hi, >> I am trying to read station data with header and column of data, with >> COlumn lengths are not equal in files and have attached one example file in >> the attachment. Can someone help to point what ascii read command to be >> used to extract time and column information from these files. >> 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From geetag54 at yahoo.com Thu Feb 5 00:47:32 2026 From: geetag54 at yahoo.com (Geeta Geeta) Date: Thu, 5 Feb 2026 07:47:32 +0000 (UTC) Subject: [ncl-talk] how do I make understand the code that there are so many blank columns not 1 References: <1918374861.403742.1770277652217.ref@mail.yahoo.com> Message-ID: <1918374861.403742.1770277652217@mail.yahoo.com> Hi? My data file looks like this? how do I make understand the code that there are so many blank columns not 1 pfa the section of my code? do i =2771, 2900print(dstr(i)) ; split the stringssplit= str_split(dstr(i)," ")print(split) ; it is stringDateTime = split(0)+" "+split(1)+split(2) following error is comingfatal:Dimension sizes of left hand side and right hand side of assignment do not matchfatal:["Execute.c":8637]:Execute: Error occurred at or near line 35 in file c1.ncl Geeta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 1770277579123blob.jpg Type: image/png Size: 41640 bytes Desc: not available URL: From dave.allured at noaa.gov Thu Feb 5 08:08:34 2026 From: dave.allured at noaa.gov (Dave Allured - NOAA Affiliate) Date: Thu, 5 Feb 2026 08:08:34 -0700 Subject: [ncl-talk] how do I make understand the code that there are so many blank columns not 1 In-Reply-To: <1918374861.403742.1770277652217@mail.yahoo.com> References: <1918374861.403742.1770277652217.ref@mail.yahoo.com> <1918374861.403742.1770277652217@mail.yahoo.com> Message-ID: Geeta, it looks like this is a "tab-separated" ASCII text file. The symbol "^I" is code for a single tab character, coming from your print program. Confirm this by printing a sample line with a low level dump tool, such as *"od"* (linux) or maybe *"hexdump"* or other such tools. Or you can read a sample line in binary with NCL, using *cbinread ("sample.txt", -1, "ubyte")*. This will read each character as a single 8-bit unsigned integer. Then use NCL *print()* to show the integers. In this mode, ASCII tab characters are the number 9 in decimal; spaces are 32; digits are 48-57; etc. End of line is 10, or maybe the 13/10 pair. Consult an ASCII code table. Once again, this method is only for confirming the file format. To split each line into separate data fields, use *str_split_csv* with the tab character as the delimiter, instead of the usual comma. Get a single tab character with *str_get_tab*. You can also use *str_split_csv* to split multiple lines, instead of looping over single lines. This is more efficient if you have large amounts of data. On Thu, Feb 5, 2026 at 12:47?AM Geeta Geeta via ncl-talk < ncl-talk at mailman.ucar.edu> wrote: > Hi My data file looks like this [image: Inline image] > how do I make understand the code that there are so many blank columns not > 1 > pfa the section of my code > > do i =2771, 2900 > print(dstr(i)) > ; split the strings > split= str_split(dstr(i)," ") > print(split) ; it is string > DateTime = split(0)+" "+split(1)+split(2) > > following error is coming > fatal:Dimension sizes of left hand side and right hand side of assignment > do not match > fatal:["Execute.c":8637]:Execute: Error occurred at or near line 35 in > file c1.ncl > > Geeta. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 1770277579123blob.jpg Type: image/jpeg Size: 41640 bytes Desc: not available URL: From debasish.hazra5 at gmail.com Thu Feb 5 09:42:06 2026 From: debasish.hazra5 at gmail.com (Debasish Hazra) Date: Thu, 5 Feb 2026 11:42:06 -0500 Subject: [ncl-talk] reading station data In-Reply-To: References: Message-ID: Thanks Dave and Dennis for your suggestions. I followed the examples and created a script to read the file I sent earlier, but it seems to be I am still getting some header information in the column I am trying to extract. Attached are output and script that was used, any suggestions to overcome this issue. Debasish. On Tue, Feb 3, 2026 at 5:50?PM Dave Allured - NOAA Affiliate < dave.allured at noaa.gov> wrote: > Debasish, that is a CSV file with header lines. Use *asciiread* to read > the entire file as strings. Then use string parsing functions such as > *str_split_csv* and/or *str_get_field* to get individual columns. > Examples *csv_3.ncl* and *csv4_ncl* are close to what you want to do. > > https://www.ncl.ucar.edu/Applications/read_csv.shtml > > > On Tue, Feb 3, 2026 at 12:38?PM Debasish Hazra via ncl-talk < > ncl-talk at mailman.ucar.edu> wrote: > >> Hi, >> I am trying to read station data with header and column of data, with >> COlumn lengths are not equal in files and have attached one example file in >> the attachment. Can someone help to point what ascii read command to be >> used to extract time and column information from these files. >> Thanks >> Debasish. >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Copyright (C) 1995-2019 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.6.2 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details. warning:stringtofloat: a bad value was passed; input strings must contain numeric digits, replacing with missing value warning:stringtofloat: a bad value was passed; input strings must contain numeric digits, replacing with missing value warning:stringtofloat: a bad value was passed; input strings must contain numeric digits, replacing with missing value warning:stringtofloat: a bad value was passed; input strings must contain numeric digits, replacing with missing value warning:stringtofloat: a bad value was passed; input strings must contain numeric digits, replacing with missing value warning:stringtofloat: a bad value was passed; input strings must contain numeric digits, replacing with missing value warning:stringtofloat: a bad value was passed; input strings must contain numeric digits, replacing with missing value warning:stringtofloat: a bad value was passed; input strings must contain numeric digits, replacing with missing value warning:stringtofloat: a bad value was passed; input strings must contain numeric digits, replacing with missing value warning:stringtofloat: a bad value was passed; input strings must contain numeric digits, replacing with missing value warning:stringtofloat: a bad value was passed; input strings must contain numeric digits, replacing with missing value warning:stringtofloat: a bad value was passed; input strings must contain numeric digits, replacing with missing value Variable: mhs Type: string Total Size: 1536 bytes 192 values Number of Dimensions: 1 Dimensions and sizes: [192] Coordinates: (0) (1) (2) (3) (4) UNITS can be found at (5) Time(hh:mm:ss) (6) 06:20:28 (7) 07:10:29 (8) 07:13:29 (9) 07:18:29 (10) 07:22:18 (11) 07:55:39 (12) 08:05:08 (13) 08:08:30 (14) 08:13:30 (15) 08:23:30 (16) 08:58:30 (17) 09:43:31 (18) 10:13:31 (19) 10:43:31 (20) 08:52:53 (21) 08:57:53 (22) 09:02:53 (23) 09:07:53 (24) 09:17:54 (25) 09:22:54 (26) 09:32:54 (27) 09:42:54 (28) 09:52:54 (29) 10:12:54 (30) 09:15:09 (31) 10:04:54 (32) 10:09:54 (33) 10:14:54 (34) 10:59:55 (35) 11:04:55 (36) 11:09:55 (37) 11:14:55 (38) 11:54:55 (39) 12:34:54 (40) 13:09:54 (41) 13:29:54 (42) 14:04:53 (43) 16:15:12 (44) 16:28:39 (45) 09:29:13 (46) 09:49:13 (47) 09:59:13 (48) 10:04:13 (49) 10:09:13 (50) 10:14:13 (51) 10:24:13 (52) 11:54:14 (53) 11:59:13 (54) 12:04:13 (55) 12:34:13 (56) 13:19:13 (57) 06:53:03 (58) 07:38:47 (59) 07:41:14 (60) 07:50:19 (61) 07:59:47 (62) 08:03:47 (63) 08:08:47 (64) 08:13:47 (65) 08:18:47 (66) 08:27:54 (67) 08:37:26 (68) 08:43:47 (69) 08:48:47 (70) 08:53:47 (71) 08:58:47 (72) 09:03:47 (73) 09:08:48 (74) 09:13:48 (75) 09:18:48 (76) 09:28:48 (77) 09:33:48 (78) 10:03:48 (79) 10:13:48 (80) 10:18:48 (81) 10:38:48 (82) 10:58:49 (83) 12:18:48 (84) 12:53:48 (85) 13:58:47 (86) 14:03:47 (87) 14:08:47 (88) 14:48:47 (89) 08:36:30 (90) 08:42:53 (91) 08:47:53 (92) 08:57:53 (93) 09:07:54 (94) 09:32:54 (95) 09:42:54 (96) 09:47:54 (97) 09:52:54 (98) 09:57:54 (99) 10:07:54 (100) 10:12:54 (101) 10:17:54 (102) 10:32:54 (103) 10:47:55 (104) 11:17:55 (105) 06:02:43 (106) 06:04:57 (107) 06:21:05 (108) 06:23:04 (109) 06:32:16 (110) 06:41:19 (111) 06:52:43 (112) 06:54:44 (113) 07:02:43 (114) 07:07:43 (115) 07:58:57 (116) 08:26:48 (117) 10:17:45 (118) 10:32:45 (119) 10:42:45 (120) 10:52:46 (121) 11:02:46 (122) 08:02:35 (123) 08:12:35 (124) 08:42:35 (125) 10:57:37 (126) 11:42:37 (127) 11:47:37 (128) 11:52:36 (129) 12:07:36 (130) 12:12:36 (131) 12:17:36 (132) 12:32:36 (133) 12:37:36 (134) 13:02:36 (135) 13:17:36 (136) 13:27:36 (137) 13:42:35 (138) 13:57:35 (139) 14:17:35 (140) 06:11:18 (141) 07:02:26 (142) 07:04:35 (143) 07:07:26 (144) 07:12:26 (145) 07:24:24 (146) 09:12:28 (147) 09:17:28 (148) 09:27:28 (149) 09:32:28 (150) 09:47:28 (151) 09:52:28 (152) 09:57:28 (153) 10:02:28 (154) 10:07:28 (155) 10:17:28 (156) 10:47:28 (157) 10:52:29 (158) 11:02:29 (159) 11:12:29 (160) 11:37:29 (161) 13:47:27 (162) 14:02:27 (163) 06:31:45 (164) 06:40:48 (165) 06:52:11 (166) 06:54:11 (167) 06:57:18 (168) 07:02:18 (169) 07:04:18 (170) 07:07:18 (171) 07:12:18 (172) 07:15:16 (173) 07:24:17 (174) 07:37:19 (175) 07:40:13 (176) 07:49:18 (177) 07:58:44 (178) 08:02:19 (179) 08:07:19 (180) 08:12:19 (181) 08:17:19 (182) 08:26:25 (183) 08:35:55 (184) 08:42:19 (185) 08:47:19 (186) 08:52:19 (187) 09:02:19 (188) 09:07:20 (189) 09:12:20 (190) 09:17:20 (191) 09:32:20 Variable: time_s Type: string Total Size: 1536 bytes 192 values Number of Dimensions: 1 Dimensions and sizes: [192] Coordinates: (0) (1) (2) (3) (4) https://aeronet.gsfc.nasa.gov/new_web/units.html (5) Day_of_Year (6) 93 (7) 93 (8) 93 (9) 93 (10) 93 (11) 93 (12) 93 (13) 93 (14) 93 (15) 93 (16) 93 (17) 93 (18) 93 (19) 93 (20) 95 (21) 95 (22) 95 (23) 95 (24) 95 (25) 95 (26) 95 (27) 95 (28) 95 (29) 95 (30) 105 (31) 106 (32) 106 (33) 106 (34) 106 (35) 106 (36) 106 (37) 106 (38) 106 (39) 106 (40) 106 (41) 106 (42) 106 (43) 106 (44) 106 (45) 109 (46) 109 (47) 109 (48) 109 (49) 109 (50) 109 (51) 109 (52) 109 (53) 109 (54) 109 (55) 109 (56) 109 (57) 111 (58) 111 (59) 111 (60) 111 (61) 111 (62) 111 (63) 111 (64) 111 (65) 111 (66) 111 (67) 111 (68) 111 (69) 111 (70) 111 (71) 111 (72) 111 (73) 111 (74) 111 (75) 111 (76) 111 (77) 111 (78) 111 (79) 111 (80) 111 (81) 111 (82) 111 (83) 111 (84) 111 (85) 111 (86) 111 (87) 111 (88) 111 (89) 116 (90) 116 (91) 116 (92) 116 (93) 116 (94) 116 (95) 116 (96) 116 (97) 116 (98) 116 (99) 116 (100) 116 (101) 116 (102) 116 (103) 116 (104) 116 (105) 117 (106) 117 (107) 117 (108) 117 (109) 117 (110) 117 (111) 117 (112) 117 (113) 117 (114) 117 (115) 117 (116) 117 (117) 117 (118) 117 (119) 117 (120) 117 (121) 117 (122) 118 (123) 118 (124) 118 (125) 118 (126) 118 (127) 118 (128) 118 (129) 118 (130) 118 (131) 118 (132) 118 (133) 118 (134) 118 (135) 118 (136) 118 (137) 118 (138) 118 (139) 118 (140) 119 (141) 119 (142) 119 (143) 119 (144) 119 (145) 119 (146) 119 (147) 119 (148) 119 (149) 119 (150) 119 (151) 119 (152) 119 (153) 119 (154) 119 (155) 119 (156) 119 (157) 119 (158) 119 (159) 119 (160) 119 (161) 119 (162) 119 (163) 120 (164) 120 (165) 120 (166) 120 (167) 120 (168) 120 (169) 120 (170) 120 (171) 120 (172) 120 (173) 120 (174) 120 (175) 120 (176) 120 (177) 120 (178) 120 (179) 120 (180) 120 (181) 120 (182) 120 (183) 120 (184) 120 (185) 120 (186) 120 (187) 120 (188) 120 (189) 120 (190) 120 (191) 120 Variable: aot500 Type: float Total Size: 768 bytes 192 values Number of Dimensions: 1 Dimensions and sizes: [192] Coordinates: Number Of Attributes: 1 _FillValue : 9.96921e+36 (0) 9.96921e+36 (1) 9.96921e+36 (2) 9.96921e+36 (3) 9.96921e+36 (4) 9.96921e+36 (5) 9.96921e+36 (6) 0.516767 (7) 0.563869 (8) 0.537748 (9) 0.574594 (10) 0.562609 (11) 0.588072 (12) 0.536206 (13) 0.536685 (14) 0.529194 (15) 0.57317 (16) 0.754846 (17) 0.62998 (18) 0.660645 (19) 0.51136 (20) 0.609276 (21) 0.632476 (22) 0.6065 (23) 0.586432 (24) 0.594579 (25) 0.593671 (26) 0.631975 (27) 0.700727 (28) 0.615976 (29) 0.603309 (30) 0.423319 (31) 0.353742 (32) 0.387588 (33) 0.361109 (34) 0.310555 (35) 0.295444 (36) 0.325005 (37) 0.313745 (38) 0.306736 (39) 0.318272 (40) 0.302237 (41) 0.323514 (42) 0.338343 (43) 0.245366 (44) 0.252717 (45) 0.53154 (46) 0.379412 (47) 0.368456 (48) 0.368535 (49) 0.363831 (50) 0.372119 (51) 0.424137 (52) 0.343276 (53) 0.344318 (54) 0.350251 (55) 0.357187 (56) 0.390748 (57) 0.597628 (58) 0.436115 (59) 0.422942 (60) 0.398002 (61) 0.490957 (62) 0.517161 (63) 0.510731 (64) 0.492952 (65) 0.504228 (66) 0.476302 (67) 0.472615 (68) 0.451448 (69) 0.422576 (70) 0.423629 (71) 0.417787 (72) 0.399637 (73) 0.389453 (74) 0.401793 (75) 0.430106 (76) 0.416493 (77) 0.420504 (78) 0.433418 (79) 0.41608 (80) 0.407221 (81) 0.494894 (82) 0.517688 (83) 0.525834 (84) 0.592808 (85) 0.444845 (86) 0.449846 (87) 0.446284 (88) 0.52824 (89) 0.662019 (90) 0.618207 (91) 0.631149 (92) 0.691626 (93) 0.622629 (94) 0.564822 (95) 0.531724 (96) 0.543187 (97) 0.532673 (98) 0.526504 (99) 0.533057 (100) 0.526452 (101) 0.543464 (102) 0.56998 (103) 0.589392 (104) 0.58229 (105) 0.451834 (106) 0.450906 (107) 0.538151 (108) 0.545592 (109) 0.547781 (110) 0.571741 (111) 0.512242 (112) 0.514135 (113) 0.519098 (114) 0.488852 (115) 0.553493 (116) 0.540033 (117) 0.462402 (118) 0.483284 (119) 0.475912 (120) 0.45786 (121) 0.497982 (122) 0.640874 (123) 0.581643 (124) 0.505501 (125) 0.647867 (126) 0.555627 (127) 0.521737 (128) 0.516424 (129) 0.463021 (130) 0.437534 (131) 0.458264 (132) 0.451876 (133) 0.441651 (134) 0.415896 (135) 0.437695 (136) 0.424631 (137) 0.452342 (138) 0.477956 (139) 0.504925 (140) 1.405625 (141) 1.533373 (142) 1.519282 (143) 1.522146 (144) 1.559416 (145) 1.515716 (146) 0.718552 (147) 0.680828 (148) 0.656679 (149) 0.654457 (150) 0.639357 (151) 0.649904 (152) 0.604629 (153) 0.603419 (154) 0.600191 (155) 0.569188 (156) 0.585529 (157) 0.57319 (158) 0.519653 (159) 0.60797 (160) 0.525382 (161) 0.462203 (162) 0.426086 (163) 0.509711 (164) 0.531249 (165) 0.55479 (166) 0.557595 (167) 0.567539 (168) 0.580142 (169) 0.581008 (170) 0.570694 (171) 0.554121 (172) 0.532265 (173) 0.554709 (174) 0.568186 (175) 0.550102 (176) 0.505335 (177) 0.51263 (178) 0.505702 (179) 0.510411 (180) 0.503677 (181) 0.526063 (182) 0.534265 (183) 0.527774 (184) 0.530307 (185) 0.563132 (186) 0.523929 (187) 0.521151 (188) 0.516597 (189) 0.514424 (190) 0.507523 (191) 0.531182 -------------- next part -------------- A non-text attachment was scrubbed... Name: extract.ncl Type: application/octet-stream Size: 802 bytes Desc: not available URL: From dave.allured at noaa.gov Fri Feb 6 00:13:47 2026 From: dave.allured at noaa.gov (Dave Allured - NOAA Affiliate) Date: Fri, 6 Feb 2026 00:13:47 -0700 Subject: [ncl-talk] reading station data In-Reply-To: References: Message-ID: Debasish, you have almost everything right, except for the position of field names, and start of data. You have: field_names = str_split(lines(0),delim) But the field names are on line 7, not line 1. Change this to get the field names from line 7. Since NCL uses zero-based indexing, the correct line index is 7 - 1 = 6. field_names = str_split(lines(6),delim) Likewise, data lines start on the next line after the field names, at line index 7. This should clear up the header errors: mhs = str_get_field(lines(7:),2,delim) ... etc. If you are processing a lot of data, then the start of data can change between files. Can you have start of data hard coded at 7, or do you need a way to detect the position automatically? On Thu, Feb 5, 2026 at 9:42?AM Debasish Hazra wrote: > Thanks Dave and Dennis for your suggestions. I followed the examples and > created a script to read the file I sent earlier, but it seems to be I am > still getting some header information in the column I am trying to extract. > Attached are output and script that was used, any suggestions to overcome > this issue. > > Debasish. > > On Tue, Feb 3, 2026 at 5:50?PM Dave Allured - NOAA Affiliate < > dave.allured at noaa.gov> wrote: > >> Debasish, that is a CSV file with header lines. Use *asciiread* to read >> the entire file as strings. Then use string parsing functions such as >> *str_split_csv* and/or *str_get_field* to get individual columns. >> Examples *csv_3.ncl* and *csv4_ncl* are close to what you want to do. >> >> https://www.ncl.ucar.edu/Applications/read_csv.shtml >> >> >> On Tue, Feb 3, 2026 at 12:38?PM Debasish Hazra via ncl-talk < >> ncl-talk at mailman.ucar.edu> wrote: >> >>> Hi, >>> I am trying to read station data with header and column of data, with >>> COlumn lengths are not equal in files and have attached one example file in >>> the attachment. Can someone help to point what ascii read command to be >>> used to extract time and column information from these files. >>> Thanks >>> Debasish. >>> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From debasish.hazra5 at gmail.com Fri Feb 6 10:05:37 2026 From: debasish.hazra5 at gmail.com (Debasish Hazra) Date: Fri, 6 Feb 2026 12:05:37 -0500 Subject: [ncl-talk] reading station data In-Reply-To: References: Message-ID: Many thanks Dave. It worked fine. I think I need a way to detect the position automatically as I found it does not always start at line 7, that will be helpful. Also, I am trying to write the columns that I read into a csv file, but not getting right for the middle column. Any suggestions? Attached the code and output csv file as well. Debasish. On Fri, Feb 6, 2026 at 2:14?AM Dave Allured - NOAA Affiliate < dave.allured at noaa.gov> wrote: > Debasish, you have almost everything right, except for the position of > field names, and start of data. You have: > > field_names = str_split(lines(0),delim) > > But the field names are on line 7, not line 1. Change this to get the > field names from line 7. Since NCL uses zero-based indexing, the correct > line index is 7 - 1 = 6. > > field_names = str_split(lines(6),delim) > > Likewise, data lines start on the next line after the field names, at line > index 7. This should clear up the header errors: > > mhs = str_get_field(lines(7:),2,delim) ... etc. > > If you are processing a lot of data, then the start of data can change > between files. Can you have start of data hard coded at 7, or do you need > a way to detect the position automatically? > > > On Thu, Feb 5, 2026 at 9:42?AM Debasish Hazra > wrote: > >> Thanks Dave and Dennis for your suggestions. I followed the examples and >> created a script to read the file I sent earlier, but it seems to be I am >> still getting some header information in the column I am trying to extract. >> Attached are output and script that was used, any suggestions to overcome >> this issue. >> >> Debasish. >> >> On Tue, Feb 3, 2026 at 5:50?PM Dave Allured - NOAA Affiliate < >> dave.allured at noaa.gov> wrote: >> >>> Debasish, that is a CSV file with header lines. Use *asciiread* to >>> read the entire file as strings. Then use string parsing functions such as >>> *str_split_csv* and/or *str_get_field* to get individual columns. >>> Examples *csv_3.ncl* and *csv4_ncl* are close to what you want to do. >>> >>> https://www.ncl.ucar.edu/Applications/read_csv.shtml >>> >>> >>> On Tue, Feb 3, 2026 at 12:38?PM Debasish Hazra via ncl-talk < >>> ncl-talk at mailman.ucar.edu> wrote: >>> >>>> Hi, >>>> I am trying to read station data with header and column of data, with >>>> COlumn lengths are not equal in files and have attached one example file in >>>> the attachment. Can someone help to point what ascii read command to be >>>> used to extract time and column information from these files. >>>> Thanks >>>> Debasish. >>>> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: BamendaTest_202404.csv Type: application/vnd.ms-excel Size: 5208 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: extract.ncl Type: application/octet-stream Size: 1432 bytes Desc: not available URL: From dave.allured at noaa.gov Fri Feb 6 11:35:38 2026 From: dave.allured at noaa.gov (Dave Allured - NOAA Affiliate) Date: Fri, 6 Feb 2026 11:35:38 -0700 Subject: [ncl-talk] reading station data In-Reply-To: References: Message-ID: To detect the position of the header line, choose a substring in that line that (1) will be included exactly in every file that you want to read, and (2) is very unlikely to be used anywhere else in any file. I like the third header, "Day_of_Year", but most other headers would also be fine. Then locate the line containing this substring. iheader = str_match_ind (line(:) .eq. "Day_of_Year") idata = iheader + 1 Then use these indices in place of the previous hard-coded line indices. field_names = str_split(lines(iheader),delim) mhs = str_get_field(lines(idata:),2,delim) ... etc. If you want to add quality control, you can use ismissing(iheader) to check for missing header line, or unexpected spelling. You might also want to verify that your selected field names are actually the ones that you expected. The problem with the middle column is that you are using an integer format code "%3.0i" to print, but you forgot to convert Day from string to integer. I think you need to use toint(). Printing string with a numeric format code is always good for chaos. On Fri, Feb 6, 2026 at 10:07?AM Debasish Hazra wrote: > Many thanks Dave. It worked fine. I think I need a way to detect the > position automatically as I found it does not always start at line 7, that > will be helpful. > Also, I am trying to write the columns that I read into a csv file, but > not getting right for the middle column. Any suggestions? Attached the code > and output csv file as well. > > Debasish. > > On Fri, Feb 6, 2026 at 2:14?AM Dave Allured - NOAA Affiliate < > dave.allured at noaa.gov> wrote: > >> Debasish, you have almost everything right, except for the position of >> field names, and start of data. You have: >> >> field_names = str_split(lines(0),delim) >> >> But the field names are on line 7, not line 1. Change this to get the >> field names from line 7. Since NCL uses zero-based indexing, the correct >> line index is 7 - 1 = 6. >> >> field_names = str_split(lines(6),delim) >> >> Likewise, data lines start on the next line after the field names, at >> line index 7. This should clear up the header errors: >> >> mhs = str_get_field(lines(7:),2,delim) ... etc. >> >> If you are processing a lot of data, then the start of data can change >> between files. Can you have start of data hard coded at 7, or do you need >> a way to detect the position automatically? >> >> >> On Thu, Feb 5, 2026 at 9:42?AM Debasish Hazra >> wrote: >> >>> Thanks Dave and Dennis for your suggestions. I followed the examples and >>> created a script to read the file I sent earlier, but it seems to be I am >>> still getting some header information in the column I am trying to extract. >>> Attached are output and script that was used, any suggestions to overcome >>> this issue. >>> >>> Debasish. >>> >>> On Tue, Feb 3, 2026 at 5:50?PM Dave Allured - NOAA Affiliate < >>> dave.allured at noaa.gov> wrote: >>> >>>> Debasish, that is a CSV file with header lines. Use *asciiread* to >>>> read the entire file as strings. Then use string parsing functions such as >>>> *str_split_csv* and/or *str_get_field* to get individual columns. >>>> Examples *csv_3.ncl* and *csv4_ncl* are close to what you want to do. >>>> >>>> https://www.ncl.ucar.edu/Applications/read_csv.shtml >>>> >>>> >>>> On Tue, Feb 3, 2026 at 12:38?PM Debasish Hazra via ncl-talk < >>>> ncl-talk at mailman.ucar.edu> wrote: >>>> >>>>> Hi, >>>>> I am trying to read station data with header and column of data, with >>>>> COlumn lengths are not equal in files and have attached one example file in >>>>> the attachment. Can someone help to point what ascii read command to be >>>>> used to extract time and column information from these files. >>>>> Thanks >>>>> Debasish. >>>>> >>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From debasish.hazra5 at gmail.com Fri Feb 6 22:42:43 2026 From: debasish.hazra5 at gmail.com (Debasish Hazra) Date: Sat, 7 Feb 2026 00:42:43 -0500 Subject: [ncl-talk] reading station data In-Reply-To: References: Message-ID: Thanks Dave, very helpful information and it worked. Debasish On Fri, Feb 6, 2026 at 1:36?PM Dave Allured - NOAA Affiliate < dave.allured at noaa.gov> wrote: > To detect the position of the header line, choose a substring in that line > that (1) will be included exactly in every file that you want to read, and > (2) is very unlikely to be used anywhere else in any file. I like the > third header, "Day_of_Year", but most other headers would also be fine. > Then locate the line containing this substring. > > iheader = str_match_ind (line(:) .eq. "Day_of_Year") > idata = iheader + 1 > > Then use these indices in place of the previous hard-coded line indices. > > field_names = str_split(lines(iheader),delim) > mhs = str_get_field(lines(idata:),2,delim) ... etc. > > If you want to add quality control, you can use ismissing(iheader) to > check for missing header line, or unexpected spelling. You might also want > to verify that your selected field names are actually the ones that you > expected. > > The problem with the middle column is that you are using an integer format > code "%3.0i" to print, but you forgot to convert Day from string to > integer. I think you need to use toint(). Printing string with a numeric > format code is always good for chaos. > > > On Fri, Feb 6, 2026 at 10:07?AM Debasish Hazra > wrote: > >> Many thanks Dave. It worked fine. I think I need a way to detect the >> position automatically as I found it does not always start at line 7, that >> will be helpful. >> Also, I am trying to write the columns that I read into a csv file, but >> not getting right for the middle column. Any suggestions? Attached the code >> and output csv file as well. >> >> Debasish. >> >> On Fri, Feb 6, 2026 at 2:14?AM Dave Allured - NOAA Affiliate < >> dave.allured at noaa.gov> wrote: >> >>> Debasish, you have almost everything right, except for the position of >>> field names, and start of data. You have: >>> >>> field_names = str_split(lines(0),delim) >>> >>> But the field names are on line 7, not line 1. Change this to get the >>> field names from line 7. Since NCL uses zero-based indexing, the correct >>> line index is 7 - 1 = 6. >>> >>> field_names = str_split(lines(6),delim) >>> >>> Likewise, data lines start on the next line after the field names, at >>> line index 7. This should clear up the header errors: >>> >>> mhs = str_get_field(lines(7:),2,delim) ... etc. >>> >>> If you are processing a lot of data, then the start of data can change >>> between files. Can you have start of data hard coded at 7, or do you need >>> a way to detect the position automatically? >>> >>> >>> On Thu, Feb 5, 2026 at 9:42?AM Debasish Hazra >>> wrote: >>> >>>> Thanks Dave and Dennis for your suggestions. I followed the examples >>>> and created a script to read the file I sent earlier, but it seems to be I >>>> am still getting some header information in the column I am trying to >>>> extract. Attached are output and script that was used, any suggestions to >>>> overcome this issue. >>>> >>>> Debasish. >>>> >>>> On Tue, Feb 3, 2026 at 5:50?PM Dave Allured - NOAA Affiliate < >>>> dave.allured at noaa.gov> wrote: >>>> >>>>> Debasish, that is a CSV file with header lines. Use *asciiread* to >>>>> read the entire file as strings. Then use string parsing functions such as >>>>> *str_split_csv* and/or *str_get_field* to get individual columns. >>>>> Examples *csv_3.ncl* and *csv4_ncl* are close to what you want to do. >>>>> >>>>> https://www.ncl.ucar.edu/Applications/read_csv.shtml >>>>> >>>>> >>>>> On Tue, Feb 3, 2026 at 12:38?PM Debasish Hazra via ncl-talk < >>>>> ncl-talk at mailman.ucar.edu> wrote: >>>>> >>>>>> Hi, >>>>>> I am trying to read station data with header and column of data, with >>>>>> COlumn lengths are not equal in files and have attached one example file in >>>>>> the attachment. Can someone help to point what ascii read command to be >>>>>> used to extract time and column information from these files. >>>>>> Thanks >>>>>> Debasish. >>>>>> >>>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From geetag54 at yahoo.com Mon Feb 9 02:26:38 2026 From: geetag54 at yahoo.com (Geeta Geeta) Date: Mon, 9 Feb 2026 09:26:38 +0000 (UTC) Subject: [ncl-talk] how do I make understand the code that there are so many blank columns not 1 In-Reply-To: References: <1918374861.403742.1770277652217.ref@mail.yahoo.com> <1918374861.403742.1770277652217@mail.yahoo.com> Message-ID: <1427387232.370063.1770629198283@mail.yahoo.com> Thank You Sir,?I could get the desired results with insructions that you have given?dstr=asciiread(filename,-1,"string")? ?; Read file as string;print(dstr)printVarSummary(dstr) tab=str_get_tab() split= str_split_csv(dstr,tab,3); printVarSummary(split); print(split)DateTime =split(:,0)C4 = split(:, 4)?; print(C4)C8 = split(:,8)C12 = split(:,12)print(DateTime+" "+C4+" "+C8+" "+C12) thanks once again Geeta. On Thursday, 5 February 2026 at 08:39:15 pm IST, Dave Allured - NOAA Affiliate wrote: Geeta, it looks like this is a "tab-separated" ASCII text file.? The symbol "^I" is code for a single tab character, coming from your print program.? Confirm this by printing a sample line with a low level dump tool, such as "od" (linux) or maybe "hexdump" or other such tools. Or you can read a sample line in binary with?NCL, using cbinread ("sample.txt", -1, "ubyte").? This will read each character as a single 8-bit unsigned integer.? Then use NCL print() to show the integers.? In this mode, ASCII tab characters are the number 9 in decimal; spaces are 32; digits are 48-57; etc.? End of line is 10, or maybe the 13/10 pair.? Consult an ASCII code table.? Once again, this method is only for confirming the file format. To split each line into separate data fields, use str_split_csv with the tab character as the delimiter, instead of the usual comma.? Get a single tab character with str_get_tab.? You can also use str_split_csv to split multiple lines, instead of looping over single lines.? This is more efficient if you have large amounts of data. On Thu, Feb 5, 2026 at 12:47?AM Geeta Geeta via ncl-talk wrote: Hi? My data file looks like this? how do I make understand the code that there are so many blank columns not 1 pfa the section of my code? do i =2771, 2900print(dstr(i)) ; split the stringssplit= str_split(dstr(i)," ")print(split) ; it is stringDateTime = split(0)+" "+split(1)+split(2) following error is comingfatal:Dimension sizes of left hand side and right hand side of assignment do not matchfatal:["Execute.c":8637]:Execute: Error occurred at or near line 35 in file c1.ncl Geeta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 1770277579123blob.jpg Type: image/jpeg Size: 41640 bytes Desc: not available URL: From geetag54 at yahoo.com Mon Feb 16 00:15:04 2026 From: geetag54 at yahoo.com (Geeta Geeta) Date: Mon, 16 Feb 2026 07:15:04 +0000 (UTC) Subject: [ncl-talk] difficulty reading multiple files with different dimensions. References: <1339636895.520146.1771226104768.ref@mail.yahoo.com> Message-ID: <1339636895.520146.1771226104768@mail.yahoo.com> Hi?I have multiple files (TEXT files) like this? Variable: filesType: stringTotal Size: 248 bytes? ? ? ? ? ? 31 valuesNumber of Dimensions: 1Dimensions and sizes: [31]Coordinates:?(0) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_01.his(1) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_02.his(2) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_03.his(3) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_04.his(4) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_05.his(5) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_06.his(6) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_07.his(7) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_08.his(8) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_09.his(9) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_10.his(10) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_11.his(11) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_12.his(12) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_13.his(13) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_14.his(14) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_15.his(15) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_16.his(16) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_17.his(17) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_18.his(18) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_19.his(19) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_20.his(20) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_21.his(21) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_22.his(22) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_23.his(23) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_24.his(24) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_25.his(25) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_26.his(26) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_27.his(27) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_28.his(28) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_29.his(29) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_30.his(30) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_31.his Variable: NfileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 31 Code that is reading thesefiles = systemfunc("ls /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_*") printVarSummary(files) print(files)Nfile = dimsizes(files); printVarSummary(Nfile) print(Nfile) do? NF? ?= 0, Nfile-1ReadFile = asciiread(files(NF),-1,"string")? ?; Read each file as stringDimFile? = dimsizes(ReadFile)? ? ? ? ? ?print(DimFile); print(ReadFile);end do This code is NOT executed till end as dimensions of 6th and 7th file are different.? Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762 Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762 Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762 Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762 Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762 Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762fatal:Dimension sizes of left hand side and right hand side of assignment do not match fatal:["Execute.c":8637]:Execute: Error occurred at or near line 33 in file c1.ncl I Request to help me sort out this Geeta. -------------- next part -------------- An HTML attachment was scrubbed... URL: From geetag54 at yahoo.com Mon Feb 16 00:35:39 2026 From: geetag54 at yahoo.com (Geeta Geeta) Date: Mon, 16 Feb 2026 07:35:39 +0000 (UTC) Subject: [ncl-talk] reading files monthwise , sequentially References: <247859333.530131.1771227339587.ref@mail.yahoo.com> Message-ID: <247859333.530131.1771227339587@mail.yahoo.com> HiI have multiple files as shown below?Variable: filesType: stringTotal Size: 1408 bytes? ? ? ? ? ? 176 valuesNumber of Dimensions: 1Dimensions and sizes: [176]Coordinates:?(0) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_01.his(1) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_02.his(2) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_03.his(3) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_04.his(4) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_05.his(5) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_06.his(6) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_07.his(7) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_08.his(8) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_09.his(9) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_10.his(10) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_11.his(11) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_12.his(12) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_13.his(13) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_14.his(14) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_15.his(15) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_16.his(16) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_17.his(17) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_18.his(18) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_19.his(19) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_20.his(20) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_21.his(21) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_22.his(22) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_23.his(23) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_24.his(24) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_25.his(25) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_26.his(26) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_27.his(27) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_28.his(28) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_29.his(29) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_30.his(30) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_31.his(31) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_01.his(32) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_02.his(33) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_03.his(34) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_04.his(35) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_05.his(36) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_06.his(37) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_07.his(38) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_08.his(39) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_09.his(40) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_10.his(41) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_11.his(42) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_12.his(43) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_13.his(44) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_14.his(45) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_15.his(46) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_16.his(47) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_17.his(48) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_18.his(49) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_19.his(50) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_20.his(51) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_21.his(52) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_22.his(53) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_23.his(54) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_24.his(55) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_25.his(56) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_26.his(57) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_27.his(58) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_28.his(59) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_29.his(60) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_30.his(61) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_31.his(62) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_02.his(63) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_03.his(64) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_04.his(65) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_05.his(66) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_06.his(67) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_07.his(68) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_08.his(69) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_09.his(70) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_10.his(71) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_11.his(72) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_12.his(73) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_22.his(74) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_23.his(75) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_24.his(76) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_25.his(77) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_26.his(78) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_27.his(79) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_28.his(80) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_29.his(81) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_30.his(82) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_31.his(83) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jun/CLOUD_ALL_17.his(84) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jun/CLOUD_ALL_18.his(85) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_01.his(86) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_02.his(87) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_03.his(88) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_04.his(89) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_05.his(90) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_06.his(91) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_07.his(92) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_08.his(93) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_09.his(94) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_10.his(95) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_11.his(96) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_12.his(97) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_13.his(98) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_14.his(99) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_15.his(100) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_16.his(101) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_17.his(102) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_18.his(103) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_19.his(104) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_20.his(105) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_21.his(106) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_22.his(107) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_23.his(108) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_24.his(109) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_25.his(110) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_26.his(111) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_27.his(112) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_28.his(113) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_29.his(114) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_30.his(115) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_01.his(116) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_02.his(117) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_03.his(118) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_04.his(119) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_05.his(120) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_06.his(121) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_07.his(122) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_08.his(123) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_09.his(124) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_10.his(125) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_11.his(126) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_12.his(127) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_13.his(128) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_14.his(129) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_15.his(130) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_16.his(131) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_17.his(132) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_18.his(133) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_19.his(134) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_20.his(135) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_21.his(136) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_22.his(137) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_23.his(138) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_24.his(139) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_25.his(140) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_26.his(141) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_27.his(142) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_28.his(143) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_29.his(144) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_30.his(145) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_31.his(146) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_01.his(147) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_02.his(148) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_03.his(149) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_04.his(150) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_05.his(151) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_06.his(152) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_07.his(153) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_08.his(154) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_09.his(155) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_10.his(156) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_11.his(157) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_12.his(158) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_13.his(159) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_14.his(160) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_15.his(161) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_16.his(162) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_17.his(163) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_18.his(164) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_19.his(165) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_20.his(166) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_21.his(167) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_22.his(168) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_23.his(169) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_24.his(170) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_25.his(171) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_26.his(172) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_27.his(173) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_28.his(174) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_29.his(175) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_30.his How do I read them in the order of month.?like AUGUSt, Sep.... etc.? Reading them lfiles = systemfunc("ls /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/???/CLOUD_ALL_*") request to guide further.?thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From tymekl at gmail.com Mon Feb 16 14:38:25 2026 From: tymekl at gmail.com (=?UTF-8?Q?Tymoteusz_=C5=81uszczewski?=) Date: Mon, 16 Feb 2026 22:38:25 +0100 Subject: [ncl-talk] ncl-talk Digest, Vol 258, Issue 6 In-Reply-To: References: Message-ID: This is the best ncl email i have ever received, thank you ;) Try to arrange the list first in a notepad/ vi editor. LS have sorting options ;) Best wishes! The truth will save us! TJ? On Monday, February 16, 2026, wrote: > Send ncl-talk mailing list submissions to > ncl-talk at mailman.ucar.edu > > To subscribe or unsubscribe via the World Wide Web, visit > https://mailman.ucar.edu/mailman/listinfo/ncl-talk > or, via email, send a message with subject or body 'help' to > ncl-talk-request at mailman.ucar.edu > > You can reach the person managing the list at > ncl-talk-owner at mailman.ucar.edu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of ncl-talk digest..." > > > Today's Topics: > > 1. difficulty reading multiple files with different dimensions. > (Geeta Geeta) > 2. reading files monthwise , sequentially (Geeta Geeta) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 16 Feb 2026 07:15:04 +0000 (UTC) > From: Geeta Geeta > To: "ncl-talk [ncl-talk]" > Subject: [ncl-talk] difficulty reading multiple files with different > dimensions. > Message-ID: <1339636895.520146.1771226104768 at mail.yahoo.com> > Content-Type: text/plain; charset="utf-8" > > Hi?I have multiple files (TEXT files) like this? > Variable: filesType: stringTotal Size: 248 bytes? ? ? ? ? ? 31 > valuesNumber of Dimensions: 1Dimensions and sizes: [31]Coordinates:?(0) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_01.his(1) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_02.his(2) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_03.his(3) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_04.his(4) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_05.his(5) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_06.his(6) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_07.his(7) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_08.his(8) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_09.his(9) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_10.his(10) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWO > S/AWOSdata/2024/Aug/CLOUD_ALL_11.his(11) /mnt/c/Users/ACER/Downloads/ > CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_12.his(12) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_13.his(13) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_14.his(14) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_15.his(15) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_16.his(16) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_17.his(17) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_18.his(18) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_19.his(19) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_20.his(20) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_21.his(21) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_22.his(22) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS > /AWOSdata/2024/Aug/CLOUD_ALL_23.his(23) /mnt/c/Users/ACER/Downloads/ > CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_24.his(24) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_25.his(25) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_26.his(26) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_27.his(27) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_28.his(28) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_29.his(29) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_30.his(30) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/ > Aug/CLOUD_ALL_31.his > > Variable: NfileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 valuesNumber > of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 31 > Code that is reading thesefiles = systemfunc("ls > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_*") > printVarSummary(files) print(files)Nfile = dimsizes(files); > printVarSummary(Nfile) print(Nfile) > > > do? NF? ?= 0, Nfile-1ReadFile = asciiread(files(NF),-1,"string")? ?; Read > each file as stringDimFile? = dimsizes(ReadFile)? ? ? ? ? ?print(DimFile); > print(ReadFile);end do > This code is NOT executed till end as dimensions of 6th and 7th file are > different.? > Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 > valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762 > > Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 > valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762 > > Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 > valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762 > > Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 > valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762 > > Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 > valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762 > > Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 > valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) > 5762fatal:Dimension sizes of left hand side and right hand side of > assignment do not match > fatal:["Execute.c":8637]:Execute: Error occurred at or near line 33 in > file c1.ncl > > I Request to help me sort out this > > Geeta. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: attachments/20260216/e2b102c6/attachment-0001.htm> > > ------------------------------ > > Message: 2 > Date: Mon, 16 Feb 2026 07:35:39 +0000 (UTC) > From: Geeta Geeta > To: "ncl-talk [ncl-talk]" > Subject: [ncl-talk] reading files monthwise , sequentially > Message-ID: <247859333.530131.1771227339587 at mail.yahoo.com> > Content-Type: text/plain; charset="utf-8" > > HiI have multiple files as shown below?Variable: filesType: stringTotal > Size: 1408 bytes? ? ? ? ? ? 176 valuesNumber of Dimensions: 1Dimensions and > sizes: [176]Coordinates:?(0) /mnt/c/Users/ACER/Downloads/ > CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_01.his(1) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_02.his(2) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_03.his(3) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_04.his(4) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_05.his(5) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_06.his(6) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_07.his(7) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_08.his(8) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_09.his(9) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_10.his(10) > > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_11.his(11) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_12.his(12) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_13.his(13) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_14.his(14) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_15.his(15) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_16.his(16) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_17.his(17) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_18.his(18) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_19.his(19) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_20.his(20) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_21.his(21) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_22.his(22) > / > mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_23.his(23) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_24.his(24) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_25.his(25) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_26.his(26) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_27.his(27) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_28.his(28) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_29.his(29) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_30.his(30) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_31.his(31) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_01.his(32) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_02.his(33) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_03.his(34) > /m > nt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_04.his(35) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_05.his(36) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_06.his(37) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_07.his(38) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_08.his(39) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_09.his(40) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_10.his(41) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_11.his(42) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_12.his(43) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_13.his(44) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_14.his(45) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_15.his(46) > /mn > t/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_16.his(47) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_17.his(48) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_18.his(49) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_19.his(50) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_20.his(51) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_21.his(52) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_22.his(53) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_23.his(54) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_24.his(55) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_25.his(56) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_26.his(57) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_27.his(58) > /mnt > /c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_28.his(59) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_29.his(60) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_30.his(61) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_31.his(62) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_02.his(63) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_03.his(64) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_04.his(65) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_05.his(66) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_06.his(67) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_07.his(68) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_08.his(69) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_09.his(70) > /mnt/ > c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_10.his(71) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_11.his(72) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_12.his(73) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_22.his(74) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_23.his(75) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_24.his(76) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_25.his(77) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_26.his(78) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_27.his(79) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_28.his(80) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_29.his(81) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_30.his(82) > /mnt/c > /Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_31.his(83) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jun/CLOUD_ALL_17.his(84) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jun/CLOUD_ALL_18.his(85) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_01.his(86) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_02.his(87) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_03.his(88) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_04.his(89) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_05.his(90) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_06.his(91) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_07.his(92) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_08.his(93) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_09.his(94) > /mnt/c/ > Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_10.his(95) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_11.his(96) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_12.his(97) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_13.his(98) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_14.his(99) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_15.his(100) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_16.his(101) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_17.his(102) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_18.his(103) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_19.his(104) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_20.his(105) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_21.his(106) > / > mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_22.his(107) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_23.his(108) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_24.his(109) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_25.his(110) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_26.his(111) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_27.his(112) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_28.his(113) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_29.his(114) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_30.his(115) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_01.his(116) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_02.his(117) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_03 > .his(118) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_04.his(119) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_05.his(120) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_06.his(121) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_07.his(122) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_08.his(123) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_09.his(124) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_10.his(125) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_11.his(126) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_12.his(127) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_13.his(128) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_14.his(129) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/C > LOUD_ALL_15.his(130) /mnt/c/Users/ACER/Downloads/ > CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_16.his(131) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_17.his(132) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_18.his(133) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_19.his(134) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_20.his(135) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_21.his(136) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_22.his(137) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_23.his(138) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_24.his(139) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_25.his(140) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_26.his(141) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata > /2024/Oct/CLOUD_ALL_27.his(142) /mnt/c/Users/ACER/Downloads/ > CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_28.his(143) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_29.his(144) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_30.his(145) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_31.his(146) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_01.his(147) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_02.his(148) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_03.his(149) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_04.his(150) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_05.his(151) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_06.his(152) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_07.his(153) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AW > OS/AWOSdata/2024/Sep/CLOUD_ALL_08.his(154) /mnt/c/Users/ACER/Downloads/ > CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_09.his(155) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_10.his(156) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_11.his(157) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_12.his(158) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_13.his(159) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_14.his(160) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_15.his(161) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_16.his(162) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_17.his(163) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_18.his(164) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_19.his(165) > /mnt/c/Users/ACER/Downloads/CE > LIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_20.his(166) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_21.his(167) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_22.his(168) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_23.his(169) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_24.his(170) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_25.his(171) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_26.his(172) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_27.his(173) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_28.his(174) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_29.his(175) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/ > Sep/CLOUD_ALL_30.his > How do I read them in the order of month.?like AUGUSt, Sep.... etc.? > > Reading them lfiles = systemfunc("ls /mnt/c/Users/ACER/Downloads/ > CELIOMETER/AWOS/AWOSdata/2024/???/CLOUD_ALL_*") > > request to guide further.?thanks > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: attachments/20260216/8a3a85db/attachment-0001.htm> > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > ncl-talk mailing list > ncl-talk at mailman.ucar.edu > List instructions, subscriber options, unsubscribe: > https://mailman.ucar.edu/mailman/listinfo/ncl-talk > > > ------------------------------ > > End of ncl-talk Digest, Vol 258, Issue 6 > **************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.allured at noaa.gov Tue Feb 17 08:39:03 2026 From: dave.allured at noaa.gov (Dave Allured - NOAA Affiliate) Date: Tue, 17 Feb 2026 08:39:03 -0700 Subject: [ncl-talk] difficulty reading multiple files with different dimensions. In-Reply-To: <1339636895.520146.1771226104768@mail.yahoo.com> References: <1339636895.520146.1771226104768.ref@mail.yahoo.com> <1339636895.520146.1771226104768@mail.yahoo.com> Message-ID: When a variable changes size or type in a loop, use the *reassignment operator ":="* to redefine the variable each time through the loop. Read about the *reassignment operator*: https://www.ncl.ucar.edu/Document/Manuals/Ref_Manual/NclVariables.shtml#Reassignment Change one line: ReadFile = asciiread(files(NF),-1,"string") To this: ReadFile := asciiread(files(NF),-1,"string") On Mon, Feb 16, 2026 at 12:15?AM Geeta Geeta via ncl-talk < ncl-talk at mailman.ucar.edu> wrote: > Hi > I have multiple files (TEXT files) like this > > Variable: files > Type: string > Total Size: 248 bytes > 31 values > Number of Dimensions: 1 > Dimensions and sizes: [31] > Coordinates: > (0) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_01.his > (1) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_02.his > (2) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_03.his > (3) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_04.his > (4) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_05.his > (5) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_06.his > (6) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_07.his > (7) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_08.his > (8) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_09.his > (9) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_10.his > (10) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_11.his > (11) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_12.his > (12) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_13.his > (13) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_14.his > (14) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_15.his > (15) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_16.his > (16) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_17.his > (17) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_18.his > (18) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_19.his > (19) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_20.his > (20) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_21.his > (21) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_22.his > (22) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_23.his > (23) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_24.his > (24) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_25.his > (25) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_26.his > (26) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_27.his > (27) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_28.his > (28) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_29.his > (29) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_30.his > (30) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_31.his > > > Variable: Nfile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 31 > > Code that is reading these > files = systemfunc("ls > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_*") > printVarSummary(files) > print(files) > Nfile = dimsizes(files) > ; printVarSummary(Nfile) > print(Nfile) > > > > do NF = 0, Nfile-1 > ReadFile = asciiread(files(NF),-1,"string") ; Read each file as string > DimFile = dimsizes(ReadFile) > print(DimFile) > ; print(ReadFile); > end do > > This code is NOT executed till end as dimensions of 6th and 7th file are > different. > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > fatal:Dimension sizes of left hand side and right hand side of assignment > do not match > > fatal:["Execute.c":8637]:Execute: Error occurred at or near line 33 in > file c1.ncl > > > I Request to help me sort out this > > Geeta. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.allured at noaa.gov Tue Feb 17 10:22:36 2026 From: dave.allured at noaa.gov (Dave Allured - NOAA Affiliate) Date: Tue, 17 Feb 2026 10:22:36 -0700 Subject: [ncl-talk] reading files monthwise , sequentially In-Reply-To: <247859333.530131.1771227339587@mail.yahoo.com> References: <247859333.530131.1771227339587.ref@mail.yahoo.com> <247859333.530131.1771227339587@mail.yahoo.com> Message-ID: Here is a another way to read the files sequentially, without sorting externally. The function *cd_inv_string* understands 3-letter month names, if you tell it where to look. load "$NCARG_ROOT/lib/ncarg/nclscripts/contrib/cd_inv_string.ncl" begin files = asciiread ("files.list", -1, "string") base = "/mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/" pattern = base + "%Y/%c/CLOUD_ALL_%D.his" time_coords = cd_inv_string (files, pattern) print (time_coords(0:9)) print ("----------") opt_ascending = 1 inds = dim_pqsort (time_coords, opt_ascending) nfiles = dimsizes (files) do i = 0, nfiles - 1 j = inds(i) print (files(j)+"") end do end On Mon, Feb 16, 2026 at 2:38?PM Tymoteusz ?uszczewski via ncl-talk < ncl-talk at mailman.ucar.edu> wrote: > This is the best ncl email i have ever received, thank you ;) > > Try to arrange the list first in a notepad/ vi editor. > LS have sorting options ;) > Best wishes! The truth will save us! > On Mon, Feb 16, 2026 at 12:35?AM Geeta Geeta via ncl-talk < ncl-talk at mailman.ucar.edu> wrote: > Hi > I have multiple files as shown below > Variable: files > Type: string > Total Size: 1408 bytes > 176 values > Number of Dimensions: 1 > Dimensions and sizes: [176] > Coordinates: > (0) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_01.his > (1) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_02.his > (2) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_03.his > (3) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_04.his > (4) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_05.his > (5) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_06.his > (6) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_07.his > (7) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_08.his > (8) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_09.his > (9) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_10.his > (10) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_11.his > (11) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_12.his > (12) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_13.his > (13) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_14.his > (14) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_15.his > (15) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_16.his > (16) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_17.his > (17) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_18.his > (18) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_19.his > (19) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_20.his > (20) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_21.his > (21) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_22.his > (22) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_23.his > (23) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_24.his > (24) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_25.his > (25) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_26.his > (26) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_27.his > (27) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_28.his > (28) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_29.his > (29) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_30.his > (30) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_31.his > (31) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_01.his > (32) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_02.his > (33) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_03.his > (34) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_04.his > (35) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_05.his > (36) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_06.his > (37) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_07.his > (38) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_08.his > (39) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_09.his > (40) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_10.his > (41) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_11.his > (42) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_12.his > (43) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_13.his > (44) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_14.his > (45) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_15.his > (46) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_16.his > (47) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_17.his > (48) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_18.his > (49) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_19.his > (50) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_20.his > (51) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_21.his > (52) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_22.his > (53) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_23.his > (54) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_24.his > (55) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_25.his > (56) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_26.his > (57) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_27.his > (58) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_28.his > (59) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_29.his > (60) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_30.his > (61) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_31.his > (62) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_02.his > (63) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_03.his > (64) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_04.his > (65) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_05.his > (66) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_06.his > (67) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_07.his > (68) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_08.his > (69) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_09.his > (70) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_10.his > (71) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_11.his > (72) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_12.his > (73) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_22.his > (74) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_23.his > (75) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_24.his > (76) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_25.his > (77) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_26.his > (78) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_27.his > (79) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_28.his > (80) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_29.his > (81) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_30.his > (82) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_31.his > (83) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jun/CLOUD_ALL_17.his > (84) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jun/CLOUD_ALL_18.his > (85) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_01.his > (86) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_02.his > (87) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_03.his > (88) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_04.his > (89) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_05.his > (90) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_06.his > (91) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_07.his > (92) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_08.his > (93) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_09.his > (94) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_10.his > (95) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_11.his > (96) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_12.his > (97) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_13.his > (98) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_14.his > (99) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_15.his > (100) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_16.his > (101) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_17.his > (102) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_18.his > (103) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_19.his > (104) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_20.his > (105) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_21.his > (106) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_22.his > (107) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_23.his > (108) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_24.his > (109) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_25.his > (110) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_26.his > (111) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_27.his > (112) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_28.his > (113) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_29.his > (114) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_30.his > (115) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_01.his > (116) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_02.his > (117) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_03.his > (118) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_04.his > (119) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_05.his > (120) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_06.his > (121) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_07.his > (122) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_08.his > (123) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_09.his > (124) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_10.his > (125) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_11.his > (126) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_12.his > (127) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_13.his > (128) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_14.his > (129) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_15.his > (130) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_16.his > (131) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_17.his > (132) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_18.his > (133) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_19.his > (134) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_20.his > (135) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_21.his > (136) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_22.his > (137) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_23.his > (138) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_24.his > (139) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_25.his > (140) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_26.his > (141) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_27.his > (142) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_28.his > (143) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_29.his > (144) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_30.his > (145) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_31.his > (146) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_01.his > (147) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_02.his > (148) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_03.his > (149) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_04.his > (150) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_05.his > (151) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_06.his > (152) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_07.his > (153) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_08.his > (154) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_09.his > (155) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_10.his > (156) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_11.his > (157) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_12.his > (158) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_13.his > (159) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_14.his > (160) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_15.his > (161) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_16.his > (162) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_17.his > (163) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_18.his > (164) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_19.his > (165) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_20.his > (166) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_21.his > (167) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_22.his > (168) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_23.his > (169) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_24.his > (170) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_25.his > (171) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_26.his > (172) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_27.his > (173) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_28.his > (174) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_29.his > (175) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_30.his > > How do I read them in the order of month. > like AUGUSt, Sep.... etc. > > > Reading them l > files = systemfunc("ls > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/???/CLOUD_ALL_*") > > request to guide further. > thanks > > _______________________________________________ > 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: From jvigh at ucar.edu Wed Feb 18 21:11:53 2026 From: jvigh at ucar.edu (Jonathan Vigh) Date: Wed, 18 Feb 2026 23:11:53 -0500 Subject: [ncl-talk] difficulty reading multiple files with different dimensions. In-Reply-To: <1339636895.520146.1771226104768@mail.yahoo.com> References: <1339636895.520146.1771226104768.ref@mail.yahoo.com> <1339636895.520146.1771226104768@mail.yahoo.com> Message-ID: Hi Geeta, I don't know if anyone has replied to you yet. This appears to be a typical programming challenge, in which arrays that are different shapes can't be assigned in NCL. One of your files probably has a different dimension from the others. Tools like ChatGPT "know" NCL and can be very helpful in explaining what is going on with your code and offering potential solutions. Here's a link to a chat where I simply put the text of your email into it and asked if it could figure out what was going on. It provided a good explanation and solution. https://chatgpt.com/share/69968a1a-b73c-800f-a291-aab0c2136ec0 I don't recommend using free-tier AI tools to blindly write or patch code for complex tasks, as I've observed them to lose context and lead one around in circles. However, for debugging errors like this, they are often very helpful. As with anything AI, one always needs to carefully check to ensure that the code solution works. Best regards, Jonathan Jonathan Vigh Scientist V, Environmental Resilience Applications Program Research Applications Laboratory (RAL) NSF National Center for Atmospheric Research (NSF NCAR) P.O. Box 3000 tel: +1 (303) 497-8205 Boulder, CO 80307-3000 fax: +1 (303) 497-8171Jonathan's Staff Web Page (CV, publications, etc.)Tropical Cyclone Guidance Project (real-time hurricane data) Tropical Cyclone Data Project (FLIGHT+, VDM+, TC-OBS datasets) HurricaneRiskCalculator?? (Now available -- Personalized hurricane wind hazard assessments for decision support) On Mon, Feb 16, 2026 at 2:15?AM Geeta Geeta via ncl-talk < ncl-talk at mailman.ucar.edu> wrote: > Hi > I have multiple files (TEXT files) like this > > Variable: files > Type: string > Total Size: 248 bytes > 31 values > Number of Dimensions: 1 > Dimensions and sizes: [31] > Coordinates: > (0) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_01.his > (1) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_02.his > (2) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_03.his > (3) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_04.his > (4) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_05.his > (5) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_06.his > (6) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_07.his > (7) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_08.his > (8) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_09.his > (9) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_10.his > (10) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_11.his > (11) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_12.his > (12) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_13.his > (13) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_14.his > (14) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_15.his > (15) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_16.his > (16) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_17.his > (17) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_18.his > (18) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_19.his > (19) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_20.his > (20) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_21.his > (21) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_22.his > (22) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_23.his > (23) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_24.his > (24) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_25.his > (25) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_26.his > (26) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_27.his > (27) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_28.his > (28) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_29.his > (29) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_30.his > (30) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_31.his > > > Variable: Nfile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 31 > > Code that is reading these > files = systemfunc("ls > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_*") > printVarSummary(files) > print(files) > Nfile = dimsizes(files) > ; printVarSummary(Nfile) > print(Nfile) > > > > do NF = 0, Nfile-1 > ReadFile = asciiread(files(NF),-1,"string") ; Read each file as string > DimFile = dimsizes(ReadFile) > print(DimFile) > ; print(ReadFile); > end do > > This code is NOT executed till end as dimensions of 6th and 7th file are > different. > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > fatal:Dimension sizes of left hand side and right hand side of assignment > do not match > > fatal:["Execute.c":8637]:Execute: Error occurred at or near line 33 in > file c1.ncl > > > I Request to help me sort out this > > > Geeta. > _______________________________________________ > 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: From geetag54 at yahoo.com Sun Feb 22 22:46:08 2026 From: geetag54 at yahoo.com (Geeta Geeta) Date: Mon, 23 Feb 2026 05:46:08 +0000 (UTC) Subject: [ncl-talk] difficulty reading multiple files with different dimensions. In-Reply-To: References: <1339636895.520146.1771226104768.ref@mail.yahoo.com> <1339636895.520146.1771226104768@mail.yahoo.com> Message-ID: <1133733000.746551.1771825568241@mail.yahoo.com> Sir, I looked at the chat GPT link and found the explanation useful. My code is working with reassignment operator/? Thank you?? Geeta. On Thursday, 19 February 2026 at 09:42:12 am IST, Jonathan Vigh wrote: Hi Geeta, I don't know if anyone has replied to you yet. This appears to be a typical programming challenge, in which arrays that are different shapes can't be assigned in NCL. One of your files probably has a different dimension from the others.? Tools like ChatGPT "know" NCL and can be very helpful in explaining what is going on with your code and offering potential?solutions. Here's a link to a chat where I simply put the text of your email into it and asked if it could figure out what was going on. It provided a good explanation and solution.?https://chatgpt.com/share/69968a1a-b73c-800f-a291-aab0c2136ec0 I don't recommend using free-tier AI tools to blindly write or patch code for complex tasks, as I've observed them to lose context and lead one around in circles. However, for debugging errors like this, they are often very helpful. As with anything AI, one always needs to carefully check to ensure that the code solution works. Best regards,Jonathan Jonathan Vigh Scientist V, Environmental Resilience Applications Program Research Applications Laboratory (RAL) NSF National Center for Atmospheric Research (NSF NCAR) P.O. Box 3000 tel: +1 (303) 497-8205 Boulder, CO 80307-3000 fax: +1 (303) 497-8171 Jonathan's Staff Web Page (CV, publications, etc.) Tropical Cyclone Guidance Project (real-time hurricane data)Tropical Cyclone Data Project (FLIGHT+, VDM+, TC-OBS datasets)HurricaneRiskCalculator?? (Now available -- Personalized hurricane wind hazard assessments for decision support) On Mon, Feb 16, 2026 at 2:15?AM Geeta Geeta via ncl-talk wrote: Hi?I have multiple files (TEXT files) like this? Variable: filesType: stringTotal Size: 248 bytes? ? ? ? ? ? 31 valuesNumber of Dimensions: 1Dimensions and sizes: [31]Coordinates:?(0) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_01.his(1) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_02.his(2) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_03.his(3) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_04.his(4) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_05.his(5) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_06.his(6) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_07.his(7) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_08.his(8) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_09.his(9) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_10.his(10) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_11.his(11) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_12.his(12) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_13.his(13) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_14.his(14) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_15.his(15) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_16.his(16) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_17.his(17) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_18.his(18) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_19.his(19) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_20.his(20) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_21.his(21) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_22.his(22) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_23.his(23) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_24.his(24) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_25.his(25) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_26.his(26) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_27.his(27) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_28.his(28) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_29.his(29) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_30.his(30) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_31.his Variable: NfileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 31 Code that is reading thesefiles = systemfunc("ls /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_*") printVarSummary(files) print(files)Nfile = dimsizes(files); printVarSummary(Nfile) print(Nfile) do? NF? ?= 0, Nfile-1ReadFile = asciiread(files(NF),-1,"string")? ?; Read each file as stringDimFile? = dimsizes(ReadFile)? ? ? ? ? ?print(DimFile); print(ReadFile);end do This code is NOT executed till end as dimensions of 6th and 7th file are different.? Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762 Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762 Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762 Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762 Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762 Variable: DimFileType: integerTotal Size: 4 bytes? ? ? ? ? ? 1 valuesNumber of Dimensions: 1Dimensions and sizes: [1]Coordinates:?(0) 5762fatal:Dimension sizes of left hand side and right hand side of assignment do not match fatal:["Execute.c":8637]:Execute: Error occurred at or near line 33 in file c1.ncl I Request to help me sort out this Geeta._______________________________________________ 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: From geetag54 at yahoo.com Sun Feb 22 22:47:46 2026 From: geetag54 at yahoo.com (Geeta Geeta) Date: Mon, 23 Feb 2026 05:47:46 +0000 (UTC) Subject: [ncl-talk] reading files monthwise , sequentially In-Reply-To: References: <247859333.530131.1771227339587.ref@mail.yahoo.com> <247859333.530131.1771227339587@mail.yahoo.com> Message-ID: <2043913345.746540.1771825666471@mail.yahoo.com> Sir,??I also tried with 'sort" option and the files are getting arranged as per the days and months that I require.? Thank you for giving me the clues. Geeta. On Tuesday, 17 February 2026 at 10:53:14 pm IST, Dave Allured - NOAA Affiliate wrote: Here is a another way to read the files sequentially, without sorting externally.? The function?cd_inv_string understands 3-letter month names, if you tell it where to look. load "$NCARG_ROOT/lib/ncarg/nclscripts/contrib/cd_inv_string.ncl" begin ? files = asciiread ("files.list", -1, "string") ? base = "/mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/" ? pattern = base + "%Y/%c/CLOUD_ALL_%D.his" ? time_coords = cd_inv_string (files, pattern) ? print (time_coords(0:9)) ? print ("----------") ? opt_ascending = 1 ? inds = dim_pqsort (time_coords, opt_ascending) ? nfiles = dimsizes (files) ? do i = 0, nfiles - 1 ? ? j = inds(i) ? ? print (files(j)+"") ? end do end On Mon, Feb 16, 2026 at 2:38?PM Tymoteusz ?uszczewski via ncl-talk wrote: This is the best ncl email i have ever received, thank you ;) Try to arrange the list first in a notepad/ vi editor.?LS have sorting options ;)Best wishes! The truth will save us! On Mon, Feb 16, 2026 at 12:35?AM Geeta Geeta via ncl-talk wrote: HiI have multiple files as shown below?Variable: filesType: stringTotal Size: 1408 bytes? ? ? ? ? ? 176 valuesNumber of Dimensions: 1Dimensions and sizes: [176]Coordinates:?(0) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_01.his(1) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_02.his(2) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_03.his(3) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_04.his(4) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_05.his(5) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_06.his(6) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_07.his(7) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_08.his(8) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_09.his(9) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_10.his(10) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_11.his(11) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_12.his(12) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_13.his(13) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_14.his(14) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_15.his(15) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_16.his(16) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_17.his(17) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_18.his(18) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_19.his(19) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_20.his(20) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_21.his(21) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_22.his(22) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_23.his(23) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_24.his(24) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_25.his(25) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_26.his(26) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_27.his(27) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_28.his(28) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_29.his(29) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_30.his(30) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_31.his(31) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_01.his(32) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_02.his(33) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_03.his(34) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_04.his(35) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_05.his(36) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_06.his(37) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_07.his(38) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_08.his(39) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_09.his(40) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_10.his(41) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_11.his(42) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_12.his(43) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_13.his(44) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_14.his(45) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_15.his(46) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_16.his(47) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_17.his(48) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_18.his(49) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_19.his(50) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_20.his(51) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_21.his(52) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_22.his(53) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_23.his(54) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_24.his(55) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_25.his(56) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_26.his(57) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_27.his(58) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_28.his(59) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_29.his(60) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_30.his(61) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Dec/CLOUD_ALL_31.his(62) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_02.his(63) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_03.his(64) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_04.his(65) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_05.his(66) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_06.his(67) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_07.his(68) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_08.his(69) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_09.his(70) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_10.his(71) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_11.his(72) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_12.his(73) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_22.his(74) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_23.his(75) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_24.his(76) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_25.his(77) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_26.his(78) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_27.his(79) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_28.his(80) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_29.his(81) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_30.his(82) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jul/CLOUD_ALL_31.his(83) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jun/CLOUD_ALL_17.his(84) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Jun/CLOUD_ALL_18.his(85) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_01.his(86) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_02.his(87) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_03.his(88) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_04.his(89) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_05.his(90) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_06.his(91) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_07.his(92) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_08.his(93) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_09.his(94) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_10.his(95) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_11.his(96) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_12.his(97) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_13.his(98) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_14.his(99) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_15.his(100) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_16.his(101) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_17.his(102) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_18.his(103) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_19.his(104) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_20.his(105) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_21.his(106) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_22.his(107) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_23.his(108) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_24.his(109) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_25.his(110) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_26.his(111) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_27.his(112) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_28.his(113) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_29.his(114) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Nov/CLOUD_ALL_30.his(115) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_01.his(116) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_02.his(117) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_03.his(118) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_04.his(119) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_05.his(120) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_06.his(121) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_07.his(122) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_08.his(123) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_09.his(124) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_10.his(125) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_11.his(126) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_12.his(127) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_13.his(128) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_14.his(129) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_15.his(130) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_16.his(131) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_17.his(132) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_18.his(133) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_19.his(134) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_20.his(135) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_21.his(136) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_22.his(137) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_23.his(138) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_24.his(139) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_25.his(140) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_26.his(141) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_27.his(142) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_28.his(143) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_29.his(144) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_30.his(145) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Oct/CLOUD_ALL_31.his(146) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_01.his(147) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_02.his(148) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_03.his(149) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_04.his(150) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_05.his(151) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_06.his(152) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_07.his(153) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_08.his(154) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_09.his(155) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_10.his(156) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_11.his(157) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_12.his(158) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_13.his(159) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_14.his(160) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_15.his(161) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_16.his(162) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_17.his(163) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_18.his(164) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_19.his(165) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_20.his(166) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_21.his(167) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_22.his(168) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_23.his(169) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_24.his(170) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_25.his(171) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_26.his(172) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_27.his(173) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_28.his(174) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_29.his(175) /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Sep/CLOUD_ALL_30.his How do I read them in the order of month.?like AUGUSt, Sep.... etc.? Reading them lfiles = systemfunc("ls /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/???/CLOUD_ALL_*") request to guide further.?thanks _______________________________________________ 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: From jvigh at ucar.edu Mon Feb 23 11:02:14 2026 From: jvigh at ucar.edu (Jonathan Vigh) Date: Mon, 23 Feb 2026 13:02:14 -0500 Subject: [ncl-talk] difficulty reading multiple files with different dimensions. In-Reply-To: <1133733000.746551.1771825568241@mail.yahoo.com> References: <1339636895.520146.1771226104768.ref@mail.yahoo.com> <1339636895.520146.1771226104768@mail.yahoo.com> <1133733000.746551.1771825568241@mail.yahoo.com> Message-ID: Hi Geeta, I'm glad it helped! I'll be curious to see how tools like ChatGPT can augment help lists like ncl-talk. Possibly, many of the issues people have can be helped with these tools. I'm sure there will always be some challenging cases, such as actual bugs or deficiencies in the underlying language of NCL itself (e.g, GRIB tables getting outdated), that may require further attention and effort. Best regards, Jonathan Jonathan Vigh Scientist V, Environmental Resilience Applications Program Research Applications Laboratory (RAL) NSF National Center for Atmospheric Research (NSF NCAR) P.O. Box 3000 tel: +1 (303) 497-8205 Boulder, CO 80307-3000 fax: +1 (303) 497-8171Jonathan's Staff Web Page (CV, publications, etc.)Tropical Cyclone Guidance Project (real-time hurricane data) Tropical Cyclone Data Project (FLIGHT+, VDM+, TC-OBS datasets) HurricaneRiskCalculator?? (Now available -- Personalized hurricane wind hazard assessments for decision support) On Mon, Feb 23, 2026 at 12:46?AM Geeta Geeta wrote: > Sir, I looked at the chat GPT link and found the explanation useful. My > code is working with reassignment operator/ > > Thank you > > > Geeta. > > > On Thursday, 19 February 2026 at 09:42:12 am IST, Jonathan Vigh < > jvigh at ucar.edu> wrote: > > > Hi Geeta, > > I don't know if anyone has replied to you yet. This appears to be a > typical programming challenge, in which arrays that are different shapes > can't be assigned in NCL. One of your files probably has a different > dimension from the others. > > Tools like ChatGPT "know" NCL and can be very helpful in explaining what > is going on with your code and offering potential solutions. Here's a link > to a chat where I simply put the text of your email into it and asked if it > could figure out what was going on. It provided a good explanation and > solution. > https://chatgpt.com/share/69968a1a-b73c-800f-a291-aab0c2136ec0 > > I don't recommend using free-tier AI tools to blindly write or patch code > for complex tasks, as I've observed them to lose context and lead one > around in circles. However, for debugging errors like this, they are often > very helpful. As with anything AI, one always needs to carefully check to > ensure that the code solution works. > > Best regards, > Jonathan > > > > Jonathan Vigh > Scientist V, Environmental Resilience Applications Program > Research Applications Laboratory (RAL) > NSF National Center for Atmospheric Research (NSF NCAR) > P.O. Box 3000 tel: +1 (303) 497-8205 > Boulder, CO 80307-3000 fax: +1 (303) 497-8171Jonathan's Staff Web Page (CV, publications, etc.)Tropical Cyclone Guidance Project (real-time hurricane data) > > Tropical Cyclone Data Project (FLIGHT+, VDM+, TC-OBS datasets) > > HurricaneRiskCalculator?? (Now available -- Personalized hurricane wind hazard assessments for decision support) > > > > > On Mon, Feb 16, 2026 at 2:15?AM Geeta Geeta via ncl-talk < > ncl-talk at mailman.ucar.edu> wrote: > > Hi > I have multiple files (TEXT files) like this > > Variable: files > Type: string > Total Size: 248 bytes > 31 values > Number of Dimensions: 1 > Dimensions and sizes: [31] > Coordinates: > (0) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_01.his > (1) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_02.his > (2) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_03.his > (3) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_04.his > (4) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_05.his > (5) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_06.his > (6) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_07.his > (7) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_08.his > (8) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_09.his > (9) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_10.his > (10) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_11.his > (11) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_12.his > (12) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_13.his > (13) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_14.his > (14) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_15.his > (15) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_16.his > (16) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_17.his > (17) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_18.his > (18) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_19.his > (19) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_20.his > (20) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_21.his > (21) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_22.his > (22) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_23.his > (23) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_24.his > (24) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_25.his > (25) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_26.his > (26) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_27.his > (27) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_28.his > (28) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_29.his > (29) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_30.his > (30) > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_31.his > > > Variable: Nfile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 31 > > Code that is reading these > files = systemfunc("ls > /mnt/c/Users/ACER/Downloads/CELIOMETER/AWOS/AWOSdata/2024/Aug/CLOUD_ALL_*") > printVarSummary(files) > print(files) > Nfile = dimsizes(files) > ; printVarSummary(Nfile) > print(Nfile) > > > > do NF = 0, Nfile-1 > ReadFile = asciiread(files(NF),-1,"string") ; Read each file as string > DimFile = dimsizes(ReadFile) > print(DimFile) > ; print(ReadFile); > end do > > This code is NOT executed till end as dimensions of 6th and 7th file are > different. > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > > > Variable: DimFile > Type: integer > Total Size: 4 bytes > 1 values > Number of Dimensions: 1 > Dimensions and sizes: [1] > Coordinates: > (0) 5762 > fatal:Dimension sizes of left hand side and right hand side of assignment > do not match > > fatal:["Execute.c":8637]:Execute: Error occurred at or near line 33 in > file c1.ncl > > > I Request to help me sort out this > > > Geeta. > _______________________________________________ > 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: From nbassill at albany.edu Tue Feb 24 09:43:02 2026 From: nbassill at albany.edu (Bassill, Nick) Date: Tue, 24 Feb 2026 16:43:02 +0000 Subject: [ncl-talk] Masking Issue When Moving To New Computer Message-ID: Hi All, Not sure if this is solve-able, but I'm transitioning NCL scripts from one computer to another. Each runs the same version of NCL. I can run the same script with the same data, and they both make an image without any critical/different errors or warnings. However, on the new machine it doesn't do the masking it's supposed to do (I clip to NY). I'm attaching examples of the same plot from both machines. I've tried all sorts of different settings for DataBaseVersion/DataSetName/projections/masks/etc and I can't find a solution. To make it more confusing, I thought I'd get around it by doing my own masking, with a shapefile. If I run a snippet of code like: load "./shapefile_utils.ncl" sname = "Counties_Shoreline.shp" maskres = True maskres at return_mask = True maskres at minlat=latmin maskres at minlon=lonmin maskres at maxlat=latmax maskres at maxlon=lonmax maskres at shape_var = "NAME" maskres at shape_names :=(/"Albany","Queens","Kings","Richmond","New York","Bronx"/); ;; just an example data_mask := shapefile_mask_data(newdata,sname,maskres) newdata=newdata*data_mask printMinMax(data_mask,1) on the new machine I'll get "min = 0, max = 0" as an output, which is incorrect. On the old one, it will correctly be 0,1. If I use the shapefile utility to plot what it thinks the shapefile is (again, same code), I get the other attached two images, which seems to make the problem obvious. For reasons unknown to me, the shape is being incorrectly rotated and sent around the world. Presumably this is something similar to what's happening in NCL's native masking. Any suggestions? I'm somewhat resigned to this being an issue with NCL being incompatible with new machines, but figured I'd ask anyway. Here is new OS, FWIW: PRETTY_NAME="Ubuntu 22.04.5 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.5 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy Nick Bassill, PhD Director of the NY State Weather Risk Communication Center Director of Research & Development, Center Of Excellence Affiliated with NYS Mesonet Room 488B, Harriman Campus; ETEC Building, 1220 Washington Ave, Albany, NY 12226 Contact: (518) 442-6375 | @NickPBassill | https://nyswrcc.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: rhnew.png Type: image/png Size: 600488 bytes Desc: rhnew.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: rhold.png Type: image/png Size: 387375 bytes Desc: rhold.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Counties_Shoreline-Old.png Type: image/png Size: 101098 bytes Desc: Counties_Shoreline-Old.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Counties_Shoreline-New.png Type: image/png Size: 104240 bytes Desc: Counties_Shoreline-New.png URL: