r.in.miads(1)	       Grass User's Manual	    r.in.miads(1)



NNAAMMEE
       rr..iinn..mmiiaaddss  - Converts a MIADS output ASCII text file into
       an GRASS raster import (_r_._i_n_._a_s_c_i_i) formatted file.
       _(_S_C_S _G_R_A_S_S _R_a_s_t_e_r _P_r_o_g_r_a_m_)

SSYYNNOOPPSSIISS
       rr..iinn..mmiiaaddss
       rr..iinn..mmiiaaddss hheellpp
       rr..iinn..mmiiaaddss iinnppuutt==_n_a_m_e oouuttppuutt==_n_a_m_e  ssttrriipp==_v_a_l_u_e  lliinnee==_v_a_l_u_e
       cceellll==_v_a_l_u_e NNoorrtthhiinngg==_v_a_l_u_e EEaassttiinngg==_v_a_l_u_e ssiizzee==_v_a_l_u_e

DDEESSCCRRIIPPTTIIOONN
       _r_._i_n_._m_i_a_d_s  allows a user to create a _r_._i_n_._a_s_c_i_i formatted
       ASCII file from a MIADS output printer format ASCII  file.
       The program will actively read the MIADS data file, selec-
       tively remove and process each strip, creating a  individ-
       ual  _r_._i_n_._a_s_c_i_i formatted file for each strip, and finally
       create one category file for all strips.  The program also
       produces  a report file summarizing all pertinent informa-
       tion for each strip.


       The resulting _r_._i_n_._a_s_c_i_i files for  each  strip	are  then
       used in conjunction with the GRASS commands _r_._i_n_._a_s_c_i_i and
       _r_._p_a_t_c_h to create a complete raster file.

CCOOMMMMAANNDD LLIINNEE OOPPTTIIOONNSS
   PPaarraammeetteerrss::
       iinnppuutt==_n_a_m_e
	      MIADS input file name.

       oouuttppuutt==_n_a_m_e
	      GRASS raster data output file name.

       ssttrriipp==_v_a_l_u_e
	      MIADSs strip number of reference cell.

       lliinnee==_v_a_l_u_e
	      MIADSs line number of reference cell.

       cceellll==_v_a_l_u_e
	      MIADS cell number of reference cell.

       NNoorrtthhiinngg==_v_a_l_u_e
	      UTM Easting at the cell reference.

       EEaassttiinngg==_v_a_l_u_e
	      UTM Northing at the cell reference.

       ssiizzee==_v_a_l_u_e
	      Cell size (length one side) in meters.





       SCS  has  developed  scripts  _r_u_n_._m_i_a_d_s,   _g_e_t_s_t_r_i_p,   and
       _s_t_r_i_p_._9_9_s.   These scripts make the MIADS to GRASS conver-
       sion easier.


       _r_u_n_._m_i_a_d_s -

	SCS macro to perform the complete conversion of  a  MIADS
       printer format data
	      set to a GRASS raster file.


       _g_e_t_s_t_r_i_p -

	Reads each MIADS strip file and converts it to a indepen-
       dent GRASS data
	      file.  Support may be run on any one of these strip
	      files;   however,  there is no category information
	      available.  Each strip may be viewed at  this  time
	      with _d_._r_a_s_t or _d_._d_i_s_p_l_a_y.


       _s_t_r_i_p_._9_9_s -

	 Special  pre-_r_._i_n_._m_i_a_d_s macro that removes the 99's from
       the MIADS data
	      file.  This effectively removes border information,
	      replacing it with "no data" values.

SSEEEE AALLSSOO
       _d_._d_i_s_p_l_a_y, _d_._r_a_s_t, _r_._i_n_._a_s_c_i_i, _r_._p_a_t_c_h, _r_._s_u_p_p_o_r_t

AAUUTTHHOORR
       _r_._i_n_._m_i_a_d_s - R.L.Glenn, USDA, SCS, NHQ-CGIS
       _r_u_n_._m_i_a_d_s_, _s_t_r_i_p_._9_9_s - Harold Kane,  USDA,  SCS,  Oklahoma
       State Office



       _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_4 _$



GRASS 5.0					    r.in.miads(1)
