print.prt file not working

227 views
Skip to first unread message

Alex Rigby

unread,
Apr 28, 2021, 4:29:43 AM4/28/21
to SWAT+
Hi everyone, 

I am trying to only print channel_sd_day to reduce the run time of my model, but for some reason the model prints 7 other output files which I have not selected in the print.prt file. I wonder if anyone else has had this issue and knows how to work around it to only print the selected output files?   This is what my print.prt file looks like;

print.prt: written by SWAT+ editor v1.2.3 on 2021-01-24 15:52
nyskip      day_start  yrc_start  day_end   yrc_end   interval  
1           0         0         0         0         1         
aa_int_cnt  
0           
csvout        dbout         cdfout        
y             n             n             
soilout       mgtout        hydcon        fdcout        
n             n             n             n             
objects                  daily       monthly        yearly         avann  
basin_wb                     n             n             n             n  
basin_nb                     n             n             n             n  
basin_ls                     n             n             n             n  
basin_pw                     n             n             n             n  
basin_aqu                    n             n             n             n  
basin_res                    n             n             n             n  
basin_cha                    n             n             n             n  
basin_sd_cha                 n             n             n             n  
basin_psc                    n             n             n             n  
region_wb                    n             n             n             n  
region_nb                    n             n             n             n  
region_ls                    n             n             n             n  
region_pw                    n             n             n             n  
region_aqu                   n             n             n             n  
region_res                   n             n             n             n  
region_cha                   n             n             n             n  
region_sd_cha                n             n             n             n  
region_psc                   n             n             n             n  
lsunit_wb                    n             n             n             n  
lsunit_nb                    n             n             n             n  
lsunit_ls                    n             n             n             n  
lsunit_pw                    n             n             n             n  
hru_wb                       n             n             n             n  
hru_nb                       n             n             n             n  
hru_ls                       n             n             n             n  
hru_pw                       n             n             n             n  
hru-lte_wb                   n             n             n             n  
hru-lte_nb                   n             n             n             n  
hru-lte_ls                   n             n             n             n  
hru-lte_pw                   n             n             n             n  
channel                      n             n             n             n  
channel_sd                   y             n             n             n  
aquifer                      n             n             n             n  
reservoir                    n             n             n             n  
recall                       n             n             n             n  
hyd                          n             n             n             n  
ru                           n             n             n             n  
pest                         n             n             n             n  

Thanks a lot in advance for any help. 

Alex

Dean Koch

unread,
Apr 28, 2021, 3:54:40 PM4/28/21
to SWAT+
Yes I've noticed this too.

You could try disabling all options in print.prt and instead request "object hydrograph" outputs using the "object.prt" file. This will generate daily outputs for a specific spatial object - eg only one HRU or channel instead of all of them. This is described in the latest SWAT+ outputs document, though I'm not sure all of its features are enabled yet. Here is an example (for gis_id 1):

object.prt: written by rswat on 2021-04-28 01:09:46
NUMB     OBTYP    OBTYPNO  HYDTYP   FILENAME        
1                    sdc      1                    tot      ohg_sdc_1_tot.ohg

The filename "object.prt" must be added to file.cio to activate this output. It seems to be a much faster way of getting discharge values.

I'm still not sure of the meaning of all of the output columns it produces (they are missing the usual units header lines), so I would be interested to hear if anyone else has successfully used object hydrographs in their project.

Dean

Alex Rigby

unread,
Apr 29, 2021, 10:06:46 AM4/29/21
to Dean Koch, SWAT+
Oddly I dont seem to have any object.prt file in my catchments, perhaps I set them up with an older version of SWAT editor? 


--
You received this message because you are subscribed to a topic in the Google Groups "SWAT+" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swatplus/I4_XQcVYk6k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swatplus+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/swatplus/5a37da9d-efd5-4dfc-b15c-bc0c61906e2cn%40googlegroups.com.

Dean Koch

unread,
Apr 29, 2021, 2:16:47 PM4/29/21
to SWAT+
Could be. I don't think SWAT+ Editor creates the 'object.prt' file by default. You can make it manually by creating a new plaintext (txt) file in your TxtInOut folder, copy the the table into it, and rename it 'object.prt'.  Then make sure 'object.prt' is listed in 'file.cio' (third entry of the "simulation" line).
Reply all
Reply to author
Forward
0 new messages