-
Notifications
You must be signed in to change notification settings - Fork 0
Extracting LATIMG, MUIMG from DRM
As it's currently implemented, there is no simple procedure for extracting 2D images of the latitude, longitudes, and emission angles (mu) from the geometrically-fitted data. Here is a work-around, albeit slow:
-
Launch DRM normally and load up the image in question.
-
At the IDL command line, compile 'drm_cmap_test', which will replace the normal drm_cmap (clymap) procedure with a special one.
-
Invoke the cylmap procedure from the menu in the normal way. The 'test' version will stop in the middle of the program, and the IDL variables latimg, lonimg, and muimg will be available for MANUAL saving/manipulation as long as you remain stopped in the subroutine. If you continue or run any other procedures, the variables will be lost. DRM will not function as long as you remain stopped in the subroutine.
writefits,'latimg.fits.gz',latimg,header
writefits,'lonimg.fits.gz',lonimg,header
writefits,'muimg.fits.gz',muimg,header
-
When ready to move to another image and/or more DRM, use 'retall' to exit the routine without saving anything or '.continue' to finish the clymap program normally (also losing the above variables).
-
To restore the normal DRM clymap procedure, either start a new IDL session or compile 'drm_cmap' at the IDL command line.