From: Debian GIS Project Date: Tue, 26 Nov 2013 09:08:12 +0000 Subject: spelling Fix spelling errors Forwarded: https://github.com/TUDelftGeodesy/Doris/pull/5 --- doris_core/coregistration.cc | 14 +++++++------- doris_core/exceptions.cc | 4 ++-- doris_core/filtering.cc | 2 +- doris_core/geocode.cc | 2 +- doris_core/processor.cc | 2 +- doris_core/readdata.cc | 4 ++-- doris_core/readinput.cc | 32 ++++++++++++++++---------------- sar_tools/cpxfiddle.cc | 2 +- 8 files changed, 31 insertions(+), 31 deletions(-) diff --git a/doris_core/coregistration.cc b/doris_core/coregistration.cc index c316cf6..fa59bc6 100644 --- a/doris_core/coregistration.cc +++ b/doris_core/coregistration.cc @@ -1363,7 +1363,7 @@ void mtiming_correl( int32 offsetLines = -999; // NaN int32 offsetPixels = -999; //getoffset(Result,offsetLines,offsetPixels); // getoffsets based on Mean - getmodeoffset(Result,offsetLines,offsetPixels); // [MA] max occurence + getmodeoffset(Result,offsetLines,offsetPixels); // [MA] max occurrence // ______ Convert offsets to seconds and write master time offset to res file ______ @@ -1727,7 +1727,7 @@ void mtiming_correlfft( int32 offsetLines = -999; // NaN int32 offsetPixels = -999; //getoffset(Result,offsetLines,offsetPixels); // getoffsets based on Mean - getmodeoffset(Result,offsetLines,offsetPixels); // [MA] max occurence + getmodeoffset(Result,offsetLines,offsetPixels); // [MA] max occurrence // ______ Convert offsets to seconds and write master time offset to res file ______ @@ -2377,7 +2377,7 @@ cerr << endl; << "\n* MTIMING_CORRELATION: Offset Frequency Table" << "\n*******************************************************************" << "\nUsing following data to determine coarse image offset:" - << "\navg. coh offset_L offset_P occurence index" + << "\navg. coh offset_L offset_P occurrence index" << "\n------------------------------------------------------"; // TODO not yet: scratchlogfile << INFO // _____ Mode of offsets _____ [MA] @@ -2385,7 +2385,7 @@ cerr << endl; PROGRESS << "Using as threshold: " << thresh_coh << " and checking for mode value"; PROGRESS.print(); INFO.print("Using following data to determine coarse image offset:"); - INFO.print("avg. coh offset_L offset_P occurence index"); + INFO.print("avg. coh offset_L offset_P occurrence index"); INFO.print("------------------------------------------------------"); mysort231(sortResult); // re-sort on 2nd, 3rd than 1st column @@ -2412,7 +2412,7 @@ cerr << endl; } offset_freq=0; // reset offset_mcoh=0; - for (register uint j=0; j 2*ONE27, due to comments line gets longer char eachline[4*ONE27]; // assuming maximum char lenght of the line is 4*ONE27. It should be sufficient. - // ______ Check (multiple) occurence of cards ______ + // ______ Check (multiple) occurrence of cards ______ bool priorscreen = false; // no screen card present bool priormemory = false; // check if present for info bool priorbatch = false; // check if present for info @@ -747,7 +747,7 @@ void readinput( { case true: WARNING << "SCREEN: line " << linecnt << ": stdout: " - << " ignored due to prior occurence."; + << " ignored due to prior occurrence."; WARNING.print(); break; @@ -846,7 +846,7 @@ void readinput( { case true: WARNING << "MEMORY: line " << linecnt - << ": ignored due to prior occurence."; + << ": ignored due to prior occurrence."; WARNING.print(); break; @@ -879,11 +879,11 @@ void readinput( { case true: WARNING << "BATCH: line: " << linecnt << ": " - << "ignored due to prior occurence."; + << "ignored due to prior occurrence."; WARNING.print(); break; default: - priorbatch = true; // flag for occurence + priorbatch = true; // flag for occurrence // keyword = word[1] ; // pass keyword // argument keyword = word[1]; // pass next word (the argument) writearg(keyword); @@ -913,11 +913,11 @@ void readinput( { case true: WARNING << "OVERWRITE: line: " << linecnt << ": " - << "ignored due to prior occurence."; + << "ignored due to prior occurrence."; WARNING.print(); break; default: - prioroverwrite = true; // flag for occurence + prioroverwrite = true; // flag for occurrence keyword = word[1]; // pass next word (the argument) writearg(keyword); toupper(keyword); @@ -946,11 +946,11 @@ void readinput( { case true: WARNING << "LISTINPUT: line: " << linecnt << ": " - << "ignored due to prior occurence."; + << "ignored due to prior occurrence."; WARNING.print(); break; default: - priorlistinput = true; // flag for occurence + priorlistinput = true; // flag for occurrence keyword = word[1]; // pass next word (the argument) writearg(keyword); toupper(keyword); @@ -979,7 +979,7 @@ void readinput( // the flag input array 'process[NUMPROCESSES]' after reading reset input // to avoid interference with PROCESS cards (ONLYPROCESS overrides) // - if (onlyprocess == -1) // check multiple occurences + if (onlyprocess == -1) // check multiple occurrences { keyword = word[1]; // pass next word (the argument) writearg(keyword); @@ -1079,7 +1079,7 @@ void readinput( } else { - WARNING << "ONLYPROCESS: more than one occurence of card, ignored line: " + WARNING << "ONLYPROCESS: more than one occurrence of card, ignored line: " << linecnt << "."; WARNING.print(); @@ -1375,7 +1375,7 @@ void readinput( else if (!strcmp(keyword,"XV")) { generalinput.preview = 2; - INFO.print("PREVIEW: \tON: generation of SUNraster files enabled + XV sytem call."); + INFO.print("PREVIEW: \tON: generation of SUNraster files enabled + XV system call."); } else if (!strcmp(keyword,"ON") || !strncmp(keyword,"//",2) || // comment @@ -1705,7 +1705,7 @@ void readinput( else if (!strcmp(keyword,"M_ORBDIR")) // orbitfile filename { if (specified(porbitsinput.m_orbdir)) - WARNING.print("Prior occurence of M_ORBDIR ignored."); + WARNING.print("Prior occurrence of M_ORBDIR ignored."); strcpy(porbitsinput.m_orbdir, word[1] ); // pass keyword writearg(porbitsinput.m_orbdir); } @@ -1762,7 +1762,7 @@ void readinput( else if (!strcmp(keyword,"S_ORBDIR")) // orbitfile filename { if (specified(porbitsinput.s_orbdir)) - WARNING.print("Prior occurence of S_ORBDIR ignored."); + WARNING.print("Prior occurrence of S_ORBDIR ignored."); strcpy(porbitsinput.s_orbdir, word[1] ); // pass keyword writearg(porbitsinput.s_orbdir); } @@ -3446,7 +3446,7 @@ void readinput( { case true: WARNING << "RS_OUT_FILE: line: " << linecnt << ": " - << "ignored due to prior occurence."; + << "ignored due to prior occurrence."; WARNING.print(); break; default: @@ -5785,7 +5785,7 @@ void checkunwrap( case uw_method2: INFO.print("Method 2: SNAPHU is used for unwrapping."); - INFO.print("Please make sure snaphu is installed. check results carefuly."); + INFO.print("Please make sure snaphu is installed. check results carefully."); INFO << "UW_SNAPHU_LOG: \tOutput log file of snaphu: " << unwrapinput.snaphu_log; INFO.print(); diff --git a/sar_tools/cpxfiddle.cc b/sar_tools/cpxfiddle.cc index 3e44c25..97c7702 100644 --- a/sar_tools/cpxfiddle.cc +++ b/sar_tools/cpxfiddle.cc @@ -2256,7 +2256,7 @@ void usage(char *programname) << "\n -M with -m: First mirrored then multilooked." << "\n -B: Not tested properly, but simply calls functions." << "\n all: If cpxfile is a symbolic link, filesize cannot be" - << "\n determined, and therefor the number of lines." + << "\n determined, and therefore the number of lines." << "\n Solution: Use the full path or use a hard link." << "\n (lot of options, binary to screen, but these are features.)"