ISCE_INSAR/components/isceobj/Image/test/testRawImagePy.py

40 lines
1.4 KiB
Python
Raw Normal View History

2019-01-16 19:40:08 +00:00
#!/usr/bin/env python3
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Author: Giangi Sacco
# Copyright 2010, by the California Institute of Technology. ALL RIGHTS RESERVED. United States Government Sponsorship acknowledged.
# Any commercial use must be negotiated with the Office of Technology Transfer at the California Institute of Technology.
#
# This software may be subject to U.S. export control laws. By accepting this software, the user agrees to comply with all applicable U.S.
# export laws and regulations. User has the responsibility to obtain export licenses, or other export authority as may be required before
# exporting such information to foreign countries or providing access to foreign persons.
#
# Jet Propulsion Lab
# California Institute of Technology
# (C) 2004-2006 All Rights Reserved
#
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
import sys
import os
from isceobj.RawImage.RawImage import RawImage
def main():
'''
home = os.environ['HOME']
filename = home + "/TEST_DIR/930110/930110.raw"
accessmode = 'read'
endian = 'l'
width = 11812
height = 15
obj = RawImage()
'''
if __name__ == "__main__":
sys.exit(main())
# End of file