groops-devs / groops

A software toolkit for gravity field recovery and GNSS processing
GNU General Public License v3.0
185 stars 107 forks source link

Problem running 030groopsGnssProcessing.xml in scenarioGnssNetwork #261

Closed JJaraG closed 4 months ago

JJaraG commented 4 months ago

Description

Dear Torsten and Groops team,

I have recently re-installed GROOPS on my Mac using git. Everything works perfectly, but when I am running 030groopsGnssProcessing.xml, I get the attached error (see log.file)

I updated the data folder with the most recent files from your institution's FTP, and I verified that the folder contains the file earthAnelastic2003.xml. What do you think would be the problem?

In addition, I have another question related to the BIAS. You provided BIAS for all constellations in the solution you performed at Gratz for repro3. Are you the only institution providing BIAS for GLONASS? When running processing out of repro3 timing, it becomes complicated and I am a bit stuck on how to proceed in that case. I am trying to use GROOPS to perform my GNSS processing in the different networks I am in charge of (Turkey, Chile), with tectonic implications.

Any help is very welcome! Thanks a lot in advance,

Best Regards! Jorge

GROOPS version

main (latest commit)

Operating systems

Log output

2024-06-20 18:24:45 Status  === Starting GROOPS ===
2024-06-20 18:24:45 Info    Config file: <030groopsGnssProcessing.xml>
2024-06-20 18:24:45 Status  --- LoopPrograms (daily) ---
2024-06-20 18:24:45 Status  === 1. loop ===
2024-06-20 18:24:45 Status  --- FileCreateDirectories (output/example/2020-01-01/orbit) ---
2024-06-20 18:24:45 Status  Create directory <output/example/2020-01-01/orbit>
2024-06-20 18:24:45 Status  Create directory <output/example/2020-01-01/clock>
2024-06-20 18:24:45 Status  Create directory <output/example/2020-01-01/signalBias>
2024-06-20 18:24:45 Status  Create directory <output/example/2020-01-01/station>
2024-06-20 18:24:45 Status  Create directory <output/example/2020-01-01/troposphere>
2024-06-20 18:24:45 Status  Create directory <output/example/2020-01-01/residuals>
2024-06-20 18:24:45 Status  --- GnssProcessing (uniformSampling) ---
2024-06-20 18:24:45 ERROR   in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/config/config.cpp:734 (run)
2024-06-20 18:24:45 ERROR   in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/programs/gnss/gnssProcessing.cpp:168 (run)
2024-06-20 18:24:45 ERROR   in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/gnss/gnssReceiverGenerator/gnssReceiverGenerator.cpp:34 (readConfig<std::shared_ptr<GnssReceiverGenerator> >)
2024-06-20 18:24:45 ERROR   in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/gnss/gnssReceiverGenerator/gnssReceiverGenerator.cpp:56 (GnssReceiverGenerator)
2024-06-20 18:24:45 ERROR   in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/gnss/gnssReceiverGenerator/gnssReceiverGeneratorStationNetwork.cpp:89 (GnssReceiverGeneratorStationNetwork)
2024-06-20 18:24:45 ERROR   in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/classes/tides/tides.cpp:42 (readConfig<std::shared_ptr<Tides> >)
2024-06-20 18:24:45 ERROR   in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/classes/tides/tides.cpp:80 (Tides)
2024-06-20 18:24:45 ERROR   in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/classes/tides/tidesEarth.cpp:43 (TidesEarth)
2024-06-20 18:24:45 ERROR   in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/files/fileEarthTide.cpp:154 (readFileEarthTide)
2024-06-20 18:24:45 ERROR   in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/inputOutput/fileArchive.cpp:163 (open): filename=<Users/jorgejara/GROOPS/data/tides/earthAnelastic2003.xml>
2024-06-20 18:24:45 ERROR   in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/inputOutput/file.cpp:235 (open): filename=<Users/jorgejara/GROOPS/data/tides/earthAnelastic2003.xml>
2024-06-20 18:24:45 ERROR   error by opening file  continue...
2024-06-20 18:24:45 Status  1 loops in time 00:00:00
2024-06-20 18:24:45 Status  === Finished GROOPS ===
tmayerguerr commented 4 months ago

Hi Jorge,

A quick answer to your bug: The path you provided is relative to your working directory (with the script 030groopsGnssProcessing.xml in it) <Users/jorgejara/GROOPS/data/tides/earthAnelastic2003.xml>. I assume you need an absolute path starting with "/".

I don't have a quick solution for the bias problem. I will think about it.

regards Torsten

JJaraG commented 4 months ago

Thanks Torsten,

I add the "/" and now I got:

2024-06-20 20:06:53 Status === Starting GROOPS with 4 processes === 2024-06-20 20:06:53 Info Config file: <030groopsGnssProcessing.xml> 2024-06-20 20:06:53 Status --- LoopPrograms (daily) --- 2024-06-20 20:06:53 Status === 1. loop === 2024-06-20 20:06:53 Status --- FileCreateDirectories (output/example/2020-01-01/orbit) --- 2024-06-20 20:06:53 Status Create directory <output/example/2020-01-01/orbit> 2024-06-20 20:06:53 Status Create directory <output/example/2020-01-01/clock> 2024-06-20 20:06:53 Status Create directory <output/example/2020-01-01/signalBias> 2024-06-20 20:06:53 Status Create directory <output/example/2020-01-01/station> 2024-06-20 20:06:53 Status Create directory <output/example/2020-01-01/troposphere> 2024-06-20 20:06:53 Status Create directory <output/example/2020-01-01/residuals> 2024-06-20 20:06:53 Status --- GnssProcessing (uniformSampling) --- 2024-06-20 20:06:54 Info Init GNSS 2024-06-20 20:06:54 Status init transmitters 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.G04.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.G18.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.R04.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.R09.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.R13.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.R24.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.R25.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.R26.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.R27.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.E06.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.E10.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.E14.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.E18.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.E20.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.E22.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.E29.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.E34.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.E51.dat>, disabling transmitter. 2024-06-20 20:06:54 WARNING Unable to read orbit file <output/preprocessing/2020/2020-01-01/orbit/orbit_2020-01-01.E52.dat>, disabling transmitter. 2024-06-20 20:06:54 Status init station network 2024-06-20 20:06:55 ERROR in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/config/config.cpp:734 (run) 2024-06-20 20:06:55 ERROR in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/programs/gnss/gnssProcessing.cpp:168 (run) 2024-06-20 20:06:55 ERROR in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/gnss/gnss.cpp:73 (init) 2024-06-20 20:06:55 ERROR in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/gnss/gnssReceiverGenerator/gnssReceiverGenerator.cpp:82 (receivers) 2024-06-20 20:06:55 ERROR in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/gnss/gnssReceiverGenerator/gnssReceiverGeneratorStationNetwork.cpp:348 (init) 2024-06-20 20:06:55 ERROR in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/files/fileGnssAntennaDefinition.cpp:310 (readFileGnssAntennaDefinition) 2024-06-20 20:06:55 ERROR in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/inputOutput/fileArchive.cpp:163 (open): filename=</Users/jorgejara/GROOPS/data> 2024-06-20 20:06:55 ERROR in /Users/jorgejara/PROGRAMS/GROOPS/groops/source/inputOutput/archiveAscii.cpp:126 (stripComments) 2024-06-20 20:06:55 ERROR basic_filebuf::underflow error reading the file: Is a directory continue... 2024-06-20 20:06:55 Status 1 loops in time 00:00:02 2024-06-20 20:06:55 Status === Finished GROOPS ===

About the thinking on the bias problem, I really appreciate! I think groops it is really nice a powerful, and it would help for a lot of tectonic problems.

Best, J

tmayerguerr commented 4 months ago

For the interpretation of the error message:

ERROR in gnss/gnssReceiverGenerator/gnssReceiverGeneratorStationNetwork.cpp:348 (init)
ERROR in files/fileGnssAntennaDefinition.cpp:310 (readFileGnssAntennaDefinition)
ERROR in inputOutput/fileArchive.cpp:163 (open): filename=</Users/jorgejara/GROOPS/data>
ERROR in inputOutput/archiveAscii.cpp:126 (stripComments)
ERROR basic_filebuf::underflow error reading the file: Is a directory continue...

It is a stack trace and tells you which function calls the next one:

You must set GnssProcessing->receiver->inputfileAntennaDefintion correctly.

best regards Torsten

JJaraG commented 4 months ago

Thanks a lot for the answer Torsten... you have a bug in the example then. AntennaDefinition is defined as groopsDatadir instead of the correct file...

Now, I have the following problem. I identified where it is (parametrization, StaticPositions), but it seems the program is not using any station, and I do understand why.

P.S. I am using the direct example downloaded from the Gratz FTP. It says it should run just changing the groopDatadir, so I did not change anything on the xml file.

Best, J

logfile-030.txt

tmayerguerr commented 4 months ago

Yes, your right. The error occurred during the update to IGS20. I have re-uploaded the scenario.