Fixing Problems with Daily Reductions
Please try these things only if you know what you are doing. It takes considerable effort to recover the WSO daily reductions when they proceed out of order or need to be redone.
WSO Daily Reduction Fixes
Fixing Magnetograms
WRedoMAG
WRedoMAG requires 3 parameters giving the Day, Serial_number, and Filename. There is an optional 4th parameter, "-a" The output of the program will be captured and added to a reduction script at /data/scans/reduction.scripts/YYYY_Day.MAGredo.script
WRedoMAG re-reduces magnetogram Serial_number that has already been reduced. Data are found in the directory /data/scans/reduced/Day in the file Filename
Example: WRedoMAG Oct28 9906 1028:1755_MG01 redoes the reduction of magnetogram 9906 found on /data/scans/reduced/Oct28/1028:1755_MG01
WRedoMag.timefix2 does the same, but does not automatically capture a record of the reduction script.
Fixing Meanfield Reductions
WRedoMF
WRedoMF requires 2 arguments, the DAY and the MFNUMBER of the first target Meanfield.
WRedoMF re-reduces all of the MF's in the appropriate directory in the same order as usual, but instead of adding to the end of rawmf.ds, it starts with the specified MFNUMBER. It searches first for files in /data/scans/rawdata/DAY and if that directory does not exist it looks in /data/scans/reduced/DAY. It does not make a record of the re-reduction, but it should.
Example: WRedoMF Oct28 67062 would redo the MF reduction for the MF files in /data/scans/reduced/Oct28 starting with 67062.
Fixing Level 3 Remapped Magnetograms
pokel3
pokel3 sets values in a single level 3 magnetogram to missing in a rectangle specified by xmin, xmax, ymin, & ymax
pokel3_runs
pokel3_runs is a script that calls pokel3 to set to missing a range of values in a particular level 3 re-mapped magnetogram to eliminate bad pixels. It is generally used when a partial magnetogram must be included in the synoptic chart, but the interpolation/extrapolation fails leaving bad values in the level 3 magnetogram. pokel3_runs has a record of all adjusted level 3 magnetogram pixels since it was started in 1992 to keep a record of corrected scans. New lines are added when needed and lines already run are commented out of the script.
- - x is 0 at right edge; y is 0 at bottom of print3 - x is 22 at left edge; y is 29 at top of print3
print3 -n sn=SN will provide a print-out and some information about a level 3 magnetogram
plotl3 SN (in ~wso/scans/scripts) will make a plot of level 3 magnetogram SN.
Return to [:WSOReductions:WSO Reductions]