fatal from array_append_record

From: Abhik Santra <abhiksantra_at_nyahnyahspammersnyahnyah>
Date: Mon Feb 03 2014 - 05:53:30 MST

Dear NCL-users,

I want to append 2 variables, x and y, having same rightmost dimensions but different time dimensions at the left.

Variable: x
Type: float
Total Size: 2369765376 bytes
            592441344 values
Number of Dimensions: 3
Dimensions and sizes: [time | 2922] x [lat | 176] x [lon | 1152]
Coordinates:
            time: [ 0..2921]
            lat: [-19.863..34.912]
            lon: [ 0..360.263]

Variable: y
Type: float
Total Size: 2073747456 bytes
            518436864 values
Number of Dimensions: 3
Dimensions and sizes: [time | 2557] x [lat | 176] x [lon | 1152]
Coordinates:
            time: [2922..5478]
            lat: [-19.863..34.912]
            lon: [ 0..360.263]

But the line
 a = array_append_record (x, y, 0) gives the following error:

fatal:Assignment type mismatch, right hand side can't be coerced to type of left hand side
fatal:["Execute.c":8128]:Execute: Error occurred at or near line 10381 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl

Did I miss something?

Regards,
Abhik

___________________________________________

Abhik Santra
CSIR Research Fellow,
Indian Institute of Tropical Meteorology,
Pune - 411008.
India
___________________________________________

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Feb 3 06:13:35 2014

This archive was generated by hypermail 2.1.8 : Fri Feb 07 2014 - 16:39:11 MST