Skip to content

Commit

Permalink
ImportOBS doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmuller committed Sep 12, 2024
1 parent 8da509d commit 1da871f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions MMVII/Doc/CommandReferences/SysCo.tex
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,9 @@ \subsection{Measurements}
6 PtD PtC 100 0.001
3 PtD PtC 22.82 0.005
\end{verbatim}
This file has to be copied into a subdirectory of \texttt{MMVII-PhgrProj/Topo}:
This file has to be put into a subdirectory of \texttt{MMVII-PhgrProj/Topo} via the \texttt{ImportOBS} command:
\begin{lstlisting}
mkdir -p MMVII-PhgrProj/Topo/Obs1/
cp inputs/meas.obs MMVII-PhgrProj/Topo/Obs1/
MMVII ImportOBS inputs/meas.obs Obs1
\end{lstlisting}


Expand Down
7 changes: 4 additions & 3 deletions MMVII/MMVII-UseCaseDataSet/TopoMini/Cmd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ rm -Rf MMVII-PhgrProj
# import coords
MMVII ImportGCP inputs/coords.txt ANXYZ InitL93 ChSys=[L93] AddInfoFree=0 Sigma=0.001 Comment=*


# convert to RTL
MMVII GCPChSysCo "RTL*657700*6860700*0*IGNF:LAMB93" InitL93 InitRTL

mkdir -p MMVII-PhgrProj/Topo/Obs1/
cp inputs/meas.obs MMVII-PhgrProj/Topo/Obs1/
# import obs
MMVII ImportOBS inputs/meas.obs Obs1

# adjust
MMVII TopoAdj Obs1 Obs1_out InitRTL FinalRTL

# export to L93
MMVII GCPChSysCo L93 FinalRTL FinalL93
2 changes: 0 additions & 2 deletions MMVII/src/ConvertFormat/ImportOBS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ int cAppli_ImportOBS::Exe()
{
mPhProj.FinishInit();

//cBA_Topo aBA_Topo(nullptr, nullptr);
cTopoData aAllTopoDataIn;
std::string aPost = Postfix(mNameObsFile,'.',true);
if (UCaseEqual(aPost,"obs"))
Expand All @@ -67,7 +66,6 @@ int cAppli_ImportOBS::Exe()
MMVII_INTERNAL_ASSERT_User(false, eTyUEr::eUnClassedError,
"Error: obs file has not the correct \".obs\" extension")
}
//mPhProj.SaveTopoMes(*mTopo);
std::string aInputFileDir;
std::string aInputFileFile;
SplitDirAndFile(aInputFileDir, aInputFileFile, mNameObsFile, true);
Expand Down

0 comments on commit 1da871f

Please sign in to comment.