open large daily output files

67 views
Skip to first unread message

NADA JUMAA

unread,
Nov 12, 2023, 10:34:09 PM11/12/23
to SWAT+
Hi, everyone!
I want to open the daily files such as channel_sd_daily.txt but I couldn't manage to do that in excel or Notepad++ or using some scripts
Can you help  me with this?
Thanks
Nada

NADA JUMAA

unread,
Nov 13, 2023, 10:35:54 AM11/13/23
to Chris George, SWAT+
Hi Chris,
Thank you so much for the info! 
but what I want is to filter out some columns such as the flo_out in the channel_sd_day.txt /.csv file to compare the results with observations  and I have the txtInOut file with all the files in txt or CSV format
Best, 
Nada

On Mon, Nov 13, 2023 at 5:41 AM Chris George <cge...@tamu.edu> wrote:
Large Text File viewer
https://web.archive.org/web/20140908181354fw_/http://swiftgear.com/ltfviewer/features.html
has worked well for me, as long as you only want to view.  If you want
to edit then emacs may work.

You should also bear in mind that when you include the analyze output
step in the SWAT+ editor the results files are read into the
swatplus_output.sqlite database in the project's Results folder.  SQLite
Studio reads such databases with no difficulty, and also gives a more
readable view of the output.  I run it with the number of rows per page
increased to 1000, which helps when viewing large tables.

Chris



On 11/13/2023 3:34 AM, NADA JUMAA wrote:
> Hi, everyone! I want to open the daily files such as channel_sd_daily.
> txt but I couldn't manage to do that in excel or Notepad++ or using
> some scripts Can you help  me with this? Thanks Nada -- You received
> this message because you are subscribed
> ZjQcmQRYFpfptBannerStart
> This Message Is From an External Sender
> This message came from outside your organization.
> ZjQcmQRYFpfptBannerEnd

Celray James CHAWANDA

unread,
Nov 13, 2023, 11:17:29 AM11/13/23
to SWAT+
Try this:

https://celray.chawanda.com/assets/downloads/read_swat_out.py

Please read the docstring first.
Reply all
Reply to author
Forward
0 new messages