/[ascend]/trunk/models/johnpye/nrel/asc_sunpos.c
ViewVC logotype

Diff of /trunk/models/johnpye/nrel/asc_sunpos.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2593 by jpye, Wed Apr 11 22:15:24 2012 UTC revision 2594 by jpye, Fri Apr 13 20:20:33 2012 UTC
# Line 210  static int sunpos_nrel_calc(struct BBoxI Line 210  static int sunpos_nrel_calc(struct BBoxI
210    
211      /* returned values are in degrees, need to convert back to base SI: radians */      /* returned values are in degrees, need to convert back to base SI: radians */
212      outputs[0] = S.zenith * PI/180.;      outputs[0] = S.zenith * PI/180.;
213      outputs[1] = S.azimuth * PI/180.;      outputs[1] = S.azimuth180 * PI/180.;
214    
215      /* 0 on success, non-zero is error code from spa_calculate (would prob be input parameters out-of-range) */      /* 0 on success, non-zero is error code from spa_calculate (would prob be input parameters out-of-range) */
216      return res;      return res;

Legend:
Removed from v.2593  
changed lines
  Added in v.2594

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22