Skip to content
Snippets Groups Projects
Commit cbbd5581 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

removed iono corr failing case addressed by new SBAS2

parent b9ee7cf7
No related branches found
No related tags found
2 merge requests!20new tag,!19new tag
......@@ -67,22 +67,8 @@ Ranges Range::computeRanges(ObservationsPtr obs,
//std::cout << "\tazel_i: " << azel_i[0] << " " << azel_i[1] << "\n";
//std::cout << "\topt.ionoopt: " << opt.ionoopt << "\n";
if (!ionocorr(obs_i.time,&nav->getNavigation(),sat,latlonalt.data(),azel_i,opt.ionoopt,&dion,&vion))
{
if (opt.ionoopt == IONOOPT_SBAS)
{
//std::cout << "error IONOOPT_SBAS ionocorr, trying with IONOOPT_BRDC...";
if (!ionocorr(obs_i.time,&nav->getNavigation(),sat,latlonalt.data(),azel_i,IONOOPT_BRDC,&dion,&vion))
{
//std::cout << " error in ionocorr\n";
continue;
}
}
else
{
//std::cout << " error in ionocorr\n";
continue;
}
}
continue;
/* GPS-L1 -> L1/B1 */
//std::cout << "iono2...\n";
if ((lam_L1=nav->getNavigation().lam[sat-1][0])>0.0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment