rebin2 reduce/increase resolution to that of MDI/HMI
[General Utilities]

Reduce (increase) the resolution of the input data to that of MDI (HMI) by factor of 2. More...

Collaboration diagram for rebin2 reduce/increase resolution to that of MDI/HMI:
Synopsis:
   rebin2  in=input data out=output data  factor=2*n mode=simple
   where n is a multiple/fraction of 2.
This is a general purpose module that takes a series of input data and modifies its spatial resolution by a factor (multiples or fractions of 2) as required and gives out a set of output data. The method for avaraging (interpolation) can be specified through the input "mode". The current version handles a simple boxcar average. If 'scale' < 0 then the input is reduced in size to 1/|scale|.

Make sure you created the appropriate output series before running the program. For example, su_bala.rebin2up.jsd

Flags:
none Currently it doesn't have any flags.
GEN_FLAGS:
Ubiquitous flags present in every module. DRMS common main program
Parameters:
in The input data series.
out The output series.
Exit_Status:
Brief description of abnormal, non-zero, exit values.
Example:
Takes a series of 1024 X 1024 MDI full disk magnetogram and produces images with the resolution of HMI, 4096 X 4096.
   rebin2 in='mdi.fd_M_96m_lev18[2003.10.20/1d]' out='su_bala.rebin2up' scale=4 mode='simple'

Example:
Reduces the resolution of HMI images 4096 X 4096 to that of MDI, 1024 X 1024. Here the input is the HMI images and the output is the lower resolution HMI images.
   rebin2 in='su_bala.rebin2up[2003.10.20/1d]' out='su_bala.rebin2down' scale=0.25 mode='simple'
Bug:
None known so far.
Code:
The doxygen code that makes this page is here:
/**
   @defgroup module_template Template Doxygen markup for DRMS modules
   @ingroup a_programs

   @brief A brief module description goes here

   @par Synopsis:
   @code
   ModuleName [-bdfxGEN_FLAGS] in=<record-set query> out=<out series>
   @endcode

   The first paragraph of an in-depth description goes here.

   This is the second paragraph of the description

   @par Flags:
   @c -b: Some flag <br>
   @c -d: Another flag <br>
   @c -f: Yet another flag <br>
   @c -x: A fourth flag <br>

   @par GEN_FLAGS:
   Ubiquitous flags present in every module.
   @ref jsoc_main

   @param in A record-set query that identifies input records.
   @param out The output series.

   @par Exit_Status:
   Brief description of abnormal, non-zero, exit values.

   @par Example:
   Brief description of the first example goes here
   @code
   ModuleName -bx in=<hmi.lev0> out=<hmi.lev03>
   @endcode

   @par Example:
   Brief description of the second example goes here
   @code
   ModuleName -f in=<hmi.lev0> out=<hmi.lev05>
   @endcode

   @bug
   A description of any bugs goes here.

   @par Code:
   The doxygen code that makes this page is here:
   @verbinclude  ./doxygen_moduletemplate.txt
*/

// From here on proceed with module code.
// ....
// ....

int DoIt(void)
{
        return 0;
}

Generated on Tue Nov 21 07:00:45 2017 for JSOC_Documentation by  doxygen 1.5.7.1