Error calculating the daily data from 3 hourly files

From: Erik Noble <enoble_at_nyahnyahspammersnyahnyah>
Date: Sat, 22 Mar 2008 22:45:16 -0400

Hi all,
 I have a problem with my script. When I run ncl it
gives the error below. I followed this example from the ncl archive
http://www.ncl.ucar.edu/Support/talk_archives/2006/0135.html
when trying to create daily data from 3-hourly data, yet I need help getting
past this error.

 I have attached my ncl script
 and the error is below. What shall I do to solve it?
-Erik

Erik_at_noble:/Volumes/Data_and_Models/ncl_scripts:ncl TRMM_Bar_Chart.ncl
 Copyright (C) 1995-2007 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 5.0.0
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.

Variable: r
Type: float
Total Size: 120489600 bytes
            30122400 values
Number of Dimensions: 3
Dimensions and sizes: [time | 489] x [latitude | 220] x [longitude | 280]
Coordinates:
            latitude: [-19.875..34.875]
            longitude: [-34.875..34.875]
Number Of Attributes: 1
  hdf_name : precipitation
fatal:Assignment type mismatch, right hand side can't be coerced to type of
left hand side
fatal:Execute: Error occurred at or near line 26 in file TRMM_Bar_Chart.ncl

Erik_at_noble:/Volumes/Data_and_Models/ncl_scripts:ncl TRMM_Bar_Chart.ncl
 Copyright (C) 1995-2007 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 5.0.0
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.

Variable: r
Type: float
Total Size: 120489600 bytes
            30122400 values
Number of Dimensions: 3
Dimensions and sizes: [time | 489] x [latitude | 220] x [longitude | 280]
Coordinates:
            latitude: [-19.875..34.875]
            longitude: [-34.875..34.875]
Number Of Attributes: 1
  hdf_name : precipitation
fatal:Subscript out of range, error in subscript #2
fatal:An error occurred reading r
fatal:Execute: Error occurred at or near line 29 in file TRMM_Bar_Chart.ncl

Erik_at_noble:/Volumes/Data_and_Models/ncl_scripts:

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Sat Mar 22 2008 - 20:45:16 MDT

This archive was generated by hypermail 2.2.0 : Sun Mar 23 2008 - 15:01:37 MDT