gappyp/autodif
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ad2ga.py: script to convert autodif absolute observations to ga .obs file ========================================================================= * if you don't know what version to use, use the one with the latest version number * don't use ad2ga.py as that is what I use to experiment with * i think everytime any of the script are saved from windows, it resets the unix permisions on the file * so it is best to pass the script to the python interpreter (since that is part of the system and if that's not executable, there's a problem) usage ----- See latest version help, e.g.: geomagr@rhe-geomag-prod01.prod.lan:>$GMProj/u/autodif/ad2ga-0.9.1.py -h environment ----------- * Python 2.7.5 because that is what is available on rhe-geomag-prod01 * environment.yml can be used with the Anaconda Python distribution to create the environment on other systems and Windows testing ------- * some files in the root directory (.abs), but no unit tests or test scripts yet implemented changes ------- * 0.9 * first version * 0.9.1 * changed hz1 and hz2 calulation with input from AML, though still not 100% confirmed * 0.9.2 * fixed issue with " (second symbol) not being printed for declination and inclination readings * 0.9.3 * add second information to 'begin abs' (currently only to the minute) * make the angle readings line up (mark and hz readings need to be shifted to right to align with other readings) * add in support for unsuccessful mark readings * previous versions only used obs that had 'RECTIME {date} {time} COMPLETE' (successful mark reading) * 'RecTime {} {} MAGNETIC' (unsuccessful mark reading) observations will use the last successul mark reading * will notify to stderr * will be commented in ga .obs output * observer name changed to gsb to rmi (royal met. inst.) * 0.9.3.1 * fixed issue with angles with 60 seconds (and probably 60 minutes and 360 degrees) being printed out * fixed with dd2dms_shim function * needs more testing (tests under definition of function) * 0.9.4 * pull in 1 one minute of PPM data (pier F) * implemented by creating temp file from machview (rhe version to use is /opt/gm/machview) * need to be careful with options (uses windows style '/', but space needed for linux) * 0.9.4.1 * fixed issue with horizontal calculation (before was only using 2 declinations instead of 4) * 0.9.4.2 * --np to --nppm (bit more clearer) * --hzdd to show inclination horizontals in decimal degrees (comment) * line numbers 1-indexed * missing mark reading comment changed to: # MISSING mu (using forced) # MISSING md (using forced) # MISSING mu (using 20180808_missing_first_marks.abs:1158) # MISSING md (using 20180808_missing_first_marks.abs:1159)
About
Simple examples of regex. Ignore the string concats :P
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published