CVS log for JSOC/proj/sharp/apps/update_sharp_keys.c |
 |
|
Up to [Development] / JSOC / proj / sharp / apps
Request diff between arbitrary revisions
Default branch: MAIN
Bookmark a link to:
HEAD
/
(download)
Revision
1.19
/
(view)
- annotate
- [select for diffs]
, Wed May 26 18:25:17 2021 UTC (2 years, 3 months ago) by mbobra
Branch:
MAIN
CVS Tags:
Ver_LATEST,
Ver_9-5,
HEAD
Changes since 1.18: +88 -96 lines
Diff to previous 1.18
Figured out the memory allocation problem.
It turns out that the arrays are not constant per T_REC for any given HARPNUM, e.g.:
> show_info -d key=T_REC ds=hmi.sharp_cea_720s"[3311][]" seg={Bt}
T_REC Bt Bt_info
2013.10.24_00:48:00_TAI Bt.fits "Gauss, fits, 547x411"
2013.10.24_01:00:00_TAI Bt.fits "Gauss, fits, 547x411"
2013.10.24_01:12:00_TAI Bt.fits "Gauss, fits, 546x411"
So I moved all of the code that created one fixed array size per HARPNUM into the loop.
Now it creates a new array per T_REC.
Revision
1.18
/
(view)
- annotate
- [select for diffs]
, Wed May 26 03:43:52 2021 UTC (2 years, 3 months ago) by mbobra
Branch:
MAIN
Changes since 1.17: +165 -133 lines
Diff to previous 1.17
fixed problem with cdelt1 (was calculating using testrec instead of per-record)
also fixed some formatting
Revision
1.17
/
(view)
- annotate
- [select for diffs]
, Mon May 24 21:17:58 2021 UTC (2 years, 3 months ago) by mbobra
Branch:
MAIN
Changes since 1.16: +17 -17 lines
Diff to previous 1.16
fixed some issues with LOS keywords
added documentation
Revision
1.16
/
(view)
- annotate
- [select for diffs]
, Tue Jun 30 21:38:53 2020 UTC (3 years, 2 months ago) by mbobra
Branch:
MAIN
CVS Tags:
Ver_9-41
Changes since 1.15: +519 -491 lines
Diff to previous 1.15
Added LOS keywords + cleanup
Revision
1.15
/
(view)
- annotate
- [select for diffs]
, Wed Mar 11 21:18:05 2015 UTC (8 years, 6 months ago) by mbobra
Branch:
MAIN
CVS Tags:
Ver_9-4,
Ver_9-3,
Ver_9-2,
Ver_9-1,
Ver_9-0,
Ver_8-8,
Ver_8-12,
Ver_8-11,
Ver_8-10
Changes since 1.14: +44 -60 lines
Diff to previous 1.14
moved mallocs outside of the loop to save memory
Revision
1.14
/
(view)
- annotate
- [select for diffs]
, Wed Mar 4 04:45:11 2015 UTC (8 years, 6 months ago) by mbobra
Branch:
MAIN
Changes since 1.13: +3 -1 lines
Diff to previous 1.13
freed two arrays
Revision
1.13
/
(view)
- annotate
- [select for diffs]
, Mon Mar 2 21:41:01 2015 UTC (8 years, 6 months ago) by mbobra
Branch:
MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12
out of bounds problem still remained in Function 8; fixed it
Revision
1.12
/
(view)
- annotate
- [select for diffs]
, Fri Feb 27 19:50:51 2015 UTC (8 years, 6 months ago) by mbobra
Branch:
MAIN
Changes since 1.11: +19 -6 lines
Diff to previous 1.11
There was a counting out-of-bounds problem with the functions that produce MEANGBZ, MEANGBT, and MEANGBH. I re-coded it such that the error terms are calculated separately; further, the error arrays are initalized to zero and the edge pixels are ignored (since they will be selected out by the bitmap and conf_disambig bitmaps anyway).
Revision
1.11
/
(view)
- annotate
- [select for diffs]
, Sun Jan 25 18:30:34 2015 UTC (8 years, 7 months ago) by mbobra
Branch:
MAIN
CVS Tags:
Ver_8-7
Changes since 1.10: +28 -34 lines
Diff to previous 1.10
updated function calls for Jz to include the correct numerical derivative described in the sw_functions.c commit message for v.1.33.
Revision
1.10
/
(view)
- annotate
- [select for diffs]
, Mon Jun 9 20:07:41 2014 UTC (9 years, 3 months ago) by mbobra
Branch:
MAIN
CVS Tags:
Ver_8-6,
Ver_8-5
Changes since 1.9: +26 -4 lines
Diff to previous 1.9
added check on CEA series array dimensions
if nx by ny are not constant for any given CEA harpnum, the program will exit
Revision
1.9
/
(view)
- annotate
- [select for diffs]
, Fri Jun 6 18:04:51 2014 UTC (9 years, 3 months ago) by mbobra
Branch:
MAIN
Changes since 1.8: +16 -9 lines
Diff to previous 1.8
added a debug flag
Revision
1.8
/
(view)
- annotate
- [select for diffs]
, Thu Jun 5 20:27:32 2014 UTC (9 years, 3 months ago) by mbobra
Branch:
MAIN
Changes since 1.7: +64 -1 lines
Diff to previous 1.7
added lorentz force function to calculate keys TOTFX, TOTFY, TOTFZ, TOTBSQ, EPSX, EPSY, EPSZ
Revision
1.7
/
(view)
- annotate
- [select for diffs]
, Mon Jun 2 18:47:26 2014 UTC (9 years, 3 months ago) by mbobra
Branch:
MAIN
Changes since 1.6: +27 -20 lines
Diff to previous 1.6
jesper's gaussian convolution function left a hwidth stripe of 0's along the edge of the image. i fixed this by padding with zeros prior to convolving.
Revision
1.6
/
(view)
- annotate
- [select for diffs]
, Fri May 16 20:56:33 2014 UTC (9 years, 4 months ago) by mbobra
Branch:
MAIN
Changes since 1.5: +144 -52 lines
Diff to previous 1.5
There was a problem in the way that I was calling fsample(). fsample() takes several arguments, one of which are the x and y dimensions of the output array and the scale. If the following occurs:
nx_out > floor((ny_in-1)/scale + 1)
ny_out > floor((ny_in-1)/scale + 1),
where n*_out are the dimensions of the output array and n*_in are the dimensions of the input array, fsample() will usually result in a segfault (though not always, depending on how the segfault was accessed.)
Revision
1.5
/
(view)
- annotate
- [select for diffs]
, Wed Feb 19 14:59:25 2014 UTC (9 years, 7 months ago) by arta
Branch:
MAIN
CVS Tags:
Ver_8-4
Changes since 1.4: +49 -139 lines
Diff to previous 1.4
Revert the versions of several sharps source-code files to make them intercompatible.
Revision
1.4
/
(view)
- annotate
- [select for diffs]
, Tue Feb 18 19:49:12 2014 UTC (9 years, 7 months ago) by mbobra
Branch:
MAIN
Changes since 1.3: +140 -50 lines
Diff to previous 1.3
added ability to specify different input and output series
added functionality to populate R_VALUE
Revision
1.3
/
(view)
- annotate
- [select for diffs]
, Tue Aug 6 23:04:46 2013 UTC (10 years, 1 month ago) by arta
Branch:
MAIN
CVS Tags:
Ver_8-3,
Ver_8-2,
Ver_8-1
Changes since 1.2: +1 -1 lines
Diff to previous 1.2
Revert accidental check-in.
Revision
1.2
/
(view)
- annotate
- [select for diffs]
, Tue Aug 6 22:26:42 2013 UTC (10 years, 1 month ago) by arta
Branch:
MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1
Fix some bugs - orbit and hlzsaa were switched in one place; there was a space in a redirection clause, which resulted in a 1 being appended to a command line; pass in the orbit series name, not the fds series name, to ingestIrisOrbit.pl; was searching through the fds series for an obsdate instead of obsdate_index (use timeslot to get the index value); add the unit field to the ingested keyword.
Revision
1.1
/
(view)
- annotate
- [select for diffs]
, Thu Jul 4 01:20:46 2013 UTC (10 years, 2 months ago) by mbobra
Branch:
MAIN
* MODULE NAME: update_sharp_keys.c
*
* DESCRIPTION: This module recalculates SHARP keywords. This is accomplished by
* cloning a record, recalculating keywords of choice (i.e., user input),
* and pointing to the same segments as the old record. Associated error keys
* are computed by default.
*
* This module accounts for versioning by appending to the keyword CODEVER7 and HISTORY:
* CODEVER7 will contain multiple lines: the production build of sharp.c, the
* production build of include file sw_functions.c, and the production build
* of update_sharp_keys.c. HISTORY will include a human-readable sentence about which
* keywords were updated.
*
* This module does not produce segments.
*
* INPUTS : -- DRMS SHARP series
* -- DRMS SHARP CEA series
* -- HARPNUM
* -- comma separated list of keywords to recalculate
*
* AUTHOR : Monica Bobra
*
* Version : v0.0 Jun 14 2013
*
* EXAMPLE :
* update_sharp_keys sharpseries=hmi.sharp_720s sharpceaseries=hmi.sharp_cea_720s //
* HARPNUM=1 keylist=USFLUX,TOTPOT
*
This form allows you to request diffs between any two revisions of
a file. You may select a symbolic revision name using the selection
box or you may type in a numeric name using the type-in text box.