Surface NMR processing and inversion GUI
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

usgsXML.py 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # XML metadata writer suitable for USGS Sciencebase Data Release
  2. # M. Andy Kass
  3. # 2017-02-17
  4. class Akvo(sNMRdata):
  5. def __init__(self):
  6. return
  7. def readProcessed(self,fname):
  8. # Load in the saved pickle saved from Akvo
  9. return 42
  10. def readInverted(self,fname):
  11. return 42
  12. def readGenericInfo(self,gfname='basicinfo,yaml',sfname='sNMRinfo.yaml'):
  13. super().readGenericInfo(gfname)
  14. super().readsNMRinfo(sfname)
  15. def importProcessed(self,fname):
  16. # Load in the exported YAML data from Akvo
  17. return 42
  18. class VCsurfProcessed(sNMRdata):
  19. def __init__(self):
  20. return
  21. class VCDartdata(bNMRdata):
  22. def __init__(self):
  23. print('VCDartdata')
  24. return
  25. class VCJavelindata(bNMRdata):
  26. def __init__(self):
  27. return
  28. # ----------Should never call these directly-------------------
  29. class data():
  30. def __init__(self):
  31. return
  32. def readGenericInfo(self,fname):
  33. # Read in the generic information common to all surveys.
  34. return 42
  35. class NMRdata(data):
  36. def __init__(self):
  37. return
  38. class bNMRdata(NMRdata):
  39. def __init__(self):
  40. return
  41. class sNMRdata(NMRdata):
  42. def __init__(self):
  43. return
  44. def readsNMRinfo(self,fname):
  45. # Read in generic info common to all sNMR surveys
  46. return 42