Hi
Shea,
I am
trying to compute regional mean precipitation using
precAvg = wgt_areaave_Wrap(prec(:,{lat1:lat2},{lon1:lon2}),1.0,1.0,
0)
pr0Avg = wgt_areaave_Wrap(pr0(:,{lat1:lat2},{lon1:lon2}),1.0,1.0, 0)
pr1Avg = wgt_areaave_Wrap(pr1(:,{lat1:lat2},{lon1:lon2}),1.0,1.0, 0)
pr2Avg = wgt_areaave_Wrap(pr2(:,{lat1:lat2},{lon1:lon2}),1.0,1.0, 0)
four model data. I found following fatal
error message.
(0) Error: scalar_field: If the input data is
1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of
the same length.
warning:create:
Bad HLU id passed to create, ignoring it
(0) Error: scalar_field: If the input data is
1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of
the same length.
warning:create:
Bad HLU id passed to create, ignoring it
(0) Error: scalar_field: If the input data is
1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of
the same length.
warning:create:
Bad HLU id passed to create, ignoring it
(0) Error: scalar_field: If the input data is
1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of
the same length.
warning:create:
Bad HLU id passed to create, ignoring it
(0) Error: scalar_field: If the input data is
1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of
the same length.
warning:create:
Bad HLU id passed to create, ignoring it
(0) Error: scalar_field: If the input data is
1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of
the same length.
warning:create:
Bad HLU id passed to create, ignoring it
(0) Error: scalar_field: If the input data is
1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of
the same length.
warning:create:
Bad HLU id passed to create, ignoring it
(0) Error: scalar_field: If the input data is
1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of
the same length.
warning:create:
Bad HLU id passed to create, ignoring it
(0) Error: scalar_field: If the input data is
1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of
the same length.
warning:create:
Bad HLU id passed to create, ignoring it
(0) Error: scalar_field: If the input data is
1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of
the same length.
warning:create:
Bad HLU id passed to create, ignoring it
(0) Error: scalar_field: If the input data is
1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of
the same length.
warning:create:
Bad HLU id passed to create, ignoring it
(0) Error: scalar_field: If the input data is
1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of
the same length.
warning:create:
Bad HLU id passed to create, ignoring it
(0) Error: scalar_field: If the input data is
1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of
the same length.
warning:create:
Bad HLU id passed to create, ignoring it
(0) Error: scalar_field: If the input data is
1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of
the same length.
warning:create:
Bad HLU id passed to create, ignoring it
(0) Error: scalar_field: If the input data is
1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of
the same length.
warning:create:
Bad HLU id passed to create, ignoring it
(0) Error: scalar_field: If the input data is
1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of
the same length.
Please
find the attached script for your help.
Regards
Azizul
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2.1.8 : Tue Apr 29 2014 - 09:04:20 MDT