Hirlam / obsmon

Tool for observation monitoring in the Harmonie-Arome NWP system
https://hirlam.github.io/obsmon/
MIT License
3 stars 8 forks source link

issue running obsmon 4.2.0 with R 4.1.0 in mode batch #18

Open hdidoufatima opened 2 years ago

hdidoufatima commented 2 years ago

I have installed obsmon 4.2.0 with R 4.1.0. While running obsmon in mode batch with the line command ./obsmon --batch, I'm getting the following warning " WARN [2021-11-25 11:21:04] makeBatchPlots: Could not detect any batch-enabled multiPlot", and no plot is produced. The config.toml file used is as follows:

[general] logLevel = "INFO" cacheDir="/home/hdiddou/.obsmon/experiments_cache/" [[experiments]] displayName = "First Experiment" path = "/home/hdiddou/Desktop/newspace/OBSMON_ROGER/SQLITE/expdata_carra_amv_tovs" [[multiPlots]] displayName = "A minimal multiPlot config entry" experiment = "First Experiment" plotType = "Observations Map" database = "ecma" startDate = "2016-07-02" endDate = "2016-07-02" cycles = ["03","06","09"] [multiPlots.obs] synop=["t2m","rh2m"] [multiplots.batchMode] parentDir= "/home/hdiddou/" dirName= "obsmon_batch_mode_plots"

I tried the option "batchMode = true" instead of "[multiplots.batchMode]", the issue remains.

paulovcmedeiros commented 2 years ago

Hi @hdidoufatima ,

Does the multiPlot itself work? I mean, if you go to the GUI and look under the "User-configured multiPlots" tab, is this multiPlot shown there?

Also, to help troubleshooting, could you also attach your ful log?

hdidoufatima commented 2 years ago

Hi @paulovcmedeiros

Yes, the multiplot works very well. Under "User-configured multiPlots" tab, when I click on "Make multiplot", I get a multiplot Figure.

Here is the log of the batch mode running:

hdiddou@hdiddou-HP-ProDesk-600-G1-SFF:~/obsmon$ ./obsmon --batch


/ | |
| | | | |
_
| | | | '_ \/ | ' ` \ / | ' \ | || | |) _ \ | | | | | () | | | | ____/|.
/|/| || ||_/|| ||

              v4.2.0

Branch: master Tag: obsmon-4.2.0-dirty Commit: 4e88a260cff008fe1cf1dcdc23a4e41c84fdb8d7 Commit date: 2021-10-04 12:22:09 +0200

Initializing Obsmon... For a list of available options, please use the "-h" argument.

Looking for R-libs in the following directories (listed in order of priority):

/home/hdiddou/obsmon/.installer_local_R-libs/R-libs /home/hdiddou/R/x86_64-pc-linux-gnu-library/4.1 /usr/local/lib/R/library

INFO [2021-12-03 15:25:32] Main process PID: 21915 INFO [2021-12-03 15:25:32] Running as user "hdiddou" INFO [2021-12-03 15:25:32] Config file found: /home/hdiddou/obsmon/config.toml

WARN [2021-12-03 15:25:33] makeBatchPlots: Could not detect any batch-enabled multiPlot.

=============== Exiting Obsmon.