m.flip(1)		      Grass User's Manual		     m.flip(1)



NNAAMMEE
       mm..fflliipp	-  Flips  elevation  data extracted from systems that retrieve
       data by rows from south to north.
       _(_G_R_A_S_S _D_a_t_a _I_m_p_o_r_t_/_P_r_o_c_e_s_s_i_n_g _P_r_o_g_r_a_m_)

SSYYNNOOPPSSIISS
       mm..fflliipp
       mm..fflliipp hheellpp
       mm..fflliipp [--qq] iinnppuutt==_n_a_m_e oouuttppuutt==_n_a_m_e rroowwss==_v_a_l_u_e ccoollss==_v_a_l_u_e bbppcc==_v_a_l_u_e

DDEESSCCRRIIPPTTIIOONN
       _m_._f_l_i_p is similar to _m_._r_o_t_9_0 .  However, rather than rotating a	raster
       file, _m_._f_l_i_p flips the contents of the raster generated by tape extrac-
       tion programs about the east-west axis.	Flipping may be  necessary  to
       compensate  for	the orientation of the data read from tape.  This pro-
       gram can be used in conjunction with the program

       _r_._i_n_._l_l
	to convert this rotated data into GRASS raster format.


       _m_._f_l_i_p requires five inputs to be entered by the user.	These  parame-
       ters and the optional flag setting are described below.



   FFllaaggss::
       --qq     Run  quietly, suppressing output of messages on program progress
	      to standard output.




   PPaarraammeetteerrss::
       iinnppuutt==_n_a_m_e
	      The full pathname of an existing file containing the data to  be
	      flipped.

       oouuttppuutt==_n_a_m_e
	      The  full  pathname of the output file in which the rotated data
	      are to be stored.

       rroowwss==_v_a_l_u_e
	      The number of rows of data in the _i_n_p_u_t file.   Values  must  be
	      positive integers.

       ccoollss==_v_a_l_u_e
	      The number of columns of data in the _i_n_p_u_t file.	Values must be
	      positive integers.

       bbppcc==_v_a_l_u_e
	      The number of bytes per cell (i.e., per data value) in the _i_n_p_u_t
	      file.  Values must be positive integers.


EEXXAAMMPPLLEE
       The following command:


       mm..fflliipp  iinnppuutt==_/_t_m_p_/_f_o_o_._o_u_t   oouuttppuutt==_/_t_m_p_/_f_l_i_p_._o_u_t   rroowwss==_3_0_1   ccoollss==_3_5_8
       bbppcc==_2



       will rotate the file  /tmp/foo.out,  and  place	the  rotated  file  in
       /tmp/flip.out.	Here,  the input file is 301 rows by 358 columns, at 2
       bytes per data value.

SSEEEE AALLSSOO
       _P_u_r_s_u_a_n_c_e _o_f _E_l_e_v_a_t_i_o_n _D_a_t_a, by Stuart Bradshaw, USACERL
       _D_T_E_D _a_n_d _D_E_M _E_l_e_v_a_t_i_o_n _D_a_t_a _E_x_t_r_a_c_t_i_o_n, by Stuart Bradshaw,  Mary  Mar-
       tin, and Chester Kos, USACERL



       _g_._r_e_g_i_o_n



       _m_._d_m_a_U_S_G_S_r_e_a_d



       _m_._d_t_e_d_._e_x_a_m_i_n_e



       _m_._d_t_e_d_._e_x_t_r_a_c_t



       _m_._e_x_a_m_i_n_e_._t_a_p_e



       _m_._r_e_g_i_o_n_._l_l



       _m_._r_o_t_9_0



       _r_._d_e_s_c_r_i_b_e



       _r_._i_n_._l_l



       _r_._r_e_s_c_a_l_e



       _r_._s_l_o_p_e_._a_s_p_e_c_t


AAUUTTHHOORRSS
       Donald Newcomb, U.S. Naval Oceanographic Office,
       borrowing heavily from the _m_._r_o_t_9_0
	program  written by Michael Shapiro, U.S.Army Construction Engineering
       Research Laboratory

       _L_a_s_t _c_h_a_n_g_e_d_: _$_D_a_t_e_: _2_0_0_2_/_0_1_/_2_5 _0_5_:_4_5_:_3_3 _$



GRASS 5.0							     m.flip(1)
