Change default value for 'nowsta' argument to 0
Set 'geodat' to TRUE if there is at least one file
Set 'srfdat' to TRUE if there is at least one file
Set 'clddat' to TRUE if there is at least one file
Set 'prcdat' to TRUE if there is at least one file
Set 'wtdat' to TRUE if there is at least one file
Set 'nusta' to 1 if there is at least one UP.DAT file
Generate list of MM4, MM5, and 3D.DAT files in folder
Get total number of MM4, MM5, and 3D.DAT files available
Generate list of IGF-CALMET.DAT files available in wd
Get number of IGF-CALMET.DAT files available in folder
Determine whether CALMET.DAT or PACOUT.DAT file will be made
Modify whitespace and indentation throughout