Thanks very much Curtis.
I will try your suggestions.
Meanwhile, below is some of the text that appears in my files. The text to be 
replaced is in blue. Somewhere in the file there is nxny 1369 1380. 1369 is the 
correct one (37 x 37).

The people who are writing the files (these are forecast winds ...) are writing 
in complex format, hence the double headers and my software is not able to read 
correctly because of double headers.
Zilore

rec 1:0:date 2009072900 UGRD kpds5=33 kpds6=100 kpds7=850 levels=(3,82) 
grid=255 850 mb 24hr fcst:
  UGRD=u wind [m/s]
  timerange 0 P1 24 P2 0 TimeU 1  nx 1380 ny 1 GDS grid 0 num_in_ave 0 missing 0
  center 98 subcenter 0 process 110 Table 1
  latlon: lat  90.000000 to 0.000000 by 2.500000  nxny 1380
          long -90.000000 to 0.000000 by 2.500000, (1380 x 1) scan 0 mode 128 
bdsgrid 1
  min/max data -21.0971 -5.09805  num bits 14  BDS_Ref -21.0971  DecScale 0 
BinScale -10








      
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to