From 9167cd4dc29bd0aa1f4ff4d9f5b9bdb9f955579f Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sat, 13 Mar 2021 12:11:30 +0100 Subject: fix_typos.sh: update while lists --- scripts/fix_typos.sh | 4 ++-- scripts/typos_whitelist.txt | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/fix_typos.sh b/scripts/fix_typos.sh index ceb5ad6f..fdfe4c02 100755 --- a/scripts/fix_typos.sh +++ b/scripts/fix_typos.sh @@ -46,8 +46,8 @@ if ! test -d fix_typos; then ) fi -EXCLUDED_FILES="*configure,config.status,config.sub,*/autom4te.cache/*,libtool,aclocal.m4,depcomp,ltmain.sh,*.pdf,./m4/*,./fix_typos/*,./docs/build/*,./src/*generated*,./test/googletest/*,./include/proj/internal/nlohmann/json.hpp,*.before_reformat" -WORDS_WHITE_LIST="metres,als,lsat,twon,ang,PJD_ERR_LSAT_NOT_IN_RANGE,COLOR_GRAT,interm,Interm,Cartesian,cartesian,CARTESIAN,kilometre,centimetre,millimetre,millimetres,Australia" +EXCLUDED_FILES="*configure,config.status,config.sub,*/autom4te.cache/*,libtool,aclocal.m4,depcomp,ltmain.sh,*.pdf,./m4/*,./fix_typos/*,./docs/build/*,./src/*generated*,./test/googletest/*,./include/proj/internal/nlohmann/json.hpp,*.before_reformat,./test/cli/test27,./test/cli/test83,./test/cli/pj_out27.dist,./test/cli/pj_out83.dist" +WORDS_WHITE_LIST="metres,als,lsat,twon,ang,PJD_ERR_LSAT_NOT_IN_RANGE,COLOR_GRAT,interm,Interm,Cartesian,cartesian,CARTESIAN,kilometre,centimetre,millimetre,millimetres,Australia,LINZ,LaTeX,BibTeX" python3 fix_typos/codespell/codespell.py -w -i 3 -q 2 -S $EXCLUDED_FILES \ -x scripts/typos_whitelist.txt --words-white-list=$WORDS_WHITE_LIST \ diff --git a/scripts/typos_whitelist.txt b/scripts/typos_whitelist.txt index 462d22da..92c413e6 100644 --- a/scripts/typos_whitelist.txt +++ b/scripts/typos_whitelist.txt @@ -1,3 +1,27 @@ $EXE +units=us-ft +init=${INIT_FILE}:404 -E -f '%.3f' >>${OUT} <`_) {"CPM", "a=6375738.7", "rf=334.29", "Comm. des Poids et Mesures 1799"}, + double lamtp, cl, sd, sp, sav, tanphi; + sav = lampp; + lamt = lp.lam + Q->p22 * sav; + if (fabs(fabs(sav) - fabs(lamdp)) < TOL) + sav = lamdp; + double lamt, sdsq, s, lamdp, phidp, sppsq, dd, sd, sl, fac, scl, sav, spp; + sav = lamdp; + } while (fabs(lamdp - sav) >= TOL && --nn); + double yt, ba; + ba = 1. / (yt * Q->sw * Q->h + Q->cw); + xy.x = (xy.x * Q->cg - xy.y * Q->sg) * Q->cw * ba; + xy.y = yt * ba; + * This implements Space Oblique Mercator (SOM) projection, used by the + * The code is identical to that of Landsat SOM (PJ_lsat.c) with the following +static double phi1_(double qs, double Te, double Tone_es) { + if (Te < EPSILON) + con = Te * sinpi; + sinpi / com + .5 / Te * log ((1. - con) / + else { /* point mean of intersepts */ +operation proj=latlong geoidgrids=egm96_15.gtx axis=dne ellps=GRS80 + Url = {https://geodesie.ign.fr/contenu/fichiers/documentation/algorithmes/notice/NTG_88.pdf} +it (neither in current documentation, nor in `historic one `_). +`Deformation model master file `_ +of a Deformation Model `__ -- cgit v1.2.3