[ncl-talk] Question about return attributes of regCoef

Xueyan Zhang xueyanzhang520 at gmail.com
Sat Dec 21 11:53:32 MST 2019


Hello ncl-talk,

I am using regCoef to compute the linear regression coefficient. But when I
print the rc, there is no attribute of tval etc, which I want to calculate
regression significance. I attached my script. Could you help me with this?

Print rc:
Variable: rc_spring
Type: float
Total Size: 179200 bytes
            44800 values
Number of Dimensions: 2
Dimensions and sizes:   [224] x [200]
Coordinates:
Number Of Attributes: 1
  _FillValue :  -999.9

Variable: rc_spring
Type: float
Total Size: 179200 bytes
            44800 values
Number of Dimensions: 2
Dimensions and sizes:   [lat | 224] x [lon | 200]
Coordinates:
            lat: [25.0625..52.9375]
            lon: [-124.9375..-100.0625]
Number Of Attributes: 1

Thank you very much!

Xueyan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20191221/abcb4ea1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trend_lai.ncl
Type: application/octet-stream
Size: 8753 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20191221/abcb4ea1/attachment.obj>


More information about the ncl-talk mailing list