Skip to content

Added config option for EMWIN handler to disable output of TXT files#79

Open
tmbates12 wants to merge 1 commit into
pietern:mainfrom
tmbates12:emwin_txt
Open

Added config option for EMWIN handler to disable output of TXT files#79
tmbates12 wants to merge 1 commit into
pietern:mainfrom
tmbates12:emwin_txt

Conversation

@tmbates12

Copy link
Copy Markdown

A lot of people seem to want to disable the rather spammy (yet informational) TXT files that come down when EMWIN is disabled, so I added a quick config option to alleviate this, so that only the images people are interested in get downlinked.

howardtopher added a commit to howardtopher/goestools that referenced this pull request Jun 1, 2023
…ion for EMWIN handler to disable output of TXT files
@ZL1LAC

ZL1LAC commented Jan 17, 2025

Copy link
Copy Markdown

If your building and have opencv4, version 4.6.0 it's likely you will come across this error.

/home/server/goestools/src/goesproc/config.cc:215:37: error: ‘CV_LOAD_IMAGE_UNCHANGED’ was not declared in this scope
  215 |         auto img = cv::imread(path, CV_LOAD_IMAGE_UNCHANGED);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/goesproc/CMakeFiles/goesproc.dir/build.make:90: src/goesproc/CMakeFiles/goesproc.dir/config.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2206: src/goesproc/CMakeFiles/goesproc.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

CV_LOAD_IMAGE_UNCHANGED was deprecated and removed in OpenCV 4.x. The newer versions of OpenCV use cv::IMREAD_UNCHANGED instead.

In config.cc at line 215: auto img = cv::imread(path, CV_LOAD_IMAGE_UNCHANGED); to auto img = cv::imread(path, cv::IMREAD_UNCHANGED);

howardtopher added a commit to howardtopher/goestools that referenced this pull request Apr 5, 2025
…ion for EMWIN handler to disable output of TXT files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants