removed some print statements
: fixed error in MEANSHR, SHRGT45, ERRBZ wherein all were giving nans at times -- this was due to some weird condition being satisfied, so now i check on that condition
updated error analysis
corrected gamma, alpha, and error in alpha this is an incomplete version -- errors in errors remain but i am pushing it over now so it is available on the web
added an "if jz eq nan, skip" line in SAVNCPP calculation
corrected indexing in the computation of jz_err in computeJz()
removed printf statements
Changed all sums to doubles instead of floats, since there is a significant loss of precision in summing millions of floats: P% cat prec.c #include <stdio.h> #include <stdlib.h> main() { float sum = 0.0; double dsum = 0.0; int n = 13000000; int i; for (i=0; i<n; i++) { sum += 1.333; dsum += 1.333; } printf("avg = %f, davg = %f\n", sum/n, dsum/n); } P% cc prec.c -o prec P% prec avg = 1.181585, davg = 1.333000 P%
now contains a unique cvs version number initialized some uninitalized variables
reinstated old version of calculating mean free energy; total free energy remains unchanged
Hasty last time! Clean-up and modified error in mean free energy calculation.
Corrected factor of 8*PI in total and mean free energy calculation
Oops, last commit used a 6th-order finite difference method. I replace it with a second-order finite difference method.
Rewrote module to compute errors using formal error propagation and VFISV error arrays
re-modified Jz calculation (a bit hasty last time)
corrected error in rsun_ref / rsun_obs
Only changed documentation
Use a smoothed jz array using fresize.h routines. Modified the methodology for calculating alpha.
some nans were being propagated into the spaceweather calculations; this is fixed
Modified code to select pixels in conf_disambig map that are greater than 70 and pixels in bitmap that are greater than 30.
per Monica's request
Update functioning code sharp.c per Monica's request
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.