title: How can I read and then convert MODFLOW binary input files as text files on python?
body: <p>I am trying to read the binary input rainfall and evapotranspiration data of a MODFLOW model on python. The data that I have downloaded is accessible at the following link:</p>
  <p><a href="https://water.usgs.gov/GIS/dsdl/gwmodels/SIR2014-5162/model.externalfiles.zip" rel="nofollow noreferrer">https://water.usgs.gov/GIS/dsdl/gwmodels/SIR2014-5162/model.externalfiles.zip</a></p>
  <p>The zip file in the above link contains several subfolders and the one that I am referring to can be found at this path (externalfiles\met_data\rch_inpd) after extracting the zip folder.</p>
  <p>The following is the description of the files:</p>
  <p><em>&quot;Binary files containing daily NEXRAD rainfall data (RCH_INPD)
  and GOES satellite-based reference evapotranspiration
  (RET_MMPD) data used in the calibration/verification model
  and all scenarios. The binary files are standard MODFLOW-2005
  binary files with standard headers and real single precision
  floating point data (dimensioned to NCOL by NROW). See line 1402
  in SUBROUTINE ULASAV in code\MD_mfnwt\src\utl7.f for more
  information on the data types in the binary header.&quot;</em></p>
  <p><a href="https://i.stack.imgur.com/3jHOl.png" rel="nofollow noreferrer">The image shows the line 1402 in SUBROUTINE ULASAV in code\MD_mfnwt\src\utl7.f </a></p>
  <p>The model grid has 101 columns and 189 rows.</p>
  <p>By the way, I have read the answer to the question (How can I read data from a binary file generated by MODFLOW?) in this link <a href="https://water.usgs.gov/ogw/modflow-nwt/MODFLOW-NWT-Guide/frequently_asked_questions.html" rel="nofollow noreferrer">https://water.usgs.gov/ogw/modflow-nwt/MODFLOW-NWT-Guide/frequently_asked_questions.html</a>. But I couldn't figure out how to do it in python.</p>