repo stringlengths 2 99 | file stringlengths 13 225 | code stringlengths 0 18.3M | file_length int64 0 18.3M | avg_line_length float64 0 1.36M | max_line_length int64 0 4.26M | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/EXOPTA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class EXOPTAType(TREElement):
def __init__(self, value):
super(EXOPTAType, self).__init__()
self.add_field('ANGLETONORTH', 's', 3, value)
self.add_field('MEANGSD', 's'... | 1,204 | 34.441176 | 53 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/CMETAA.py |
import numpy
from sarpy.geometry.geocoords import geodetic_to_ecf
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class CMETAAType(TREElement):
def __init__(self, value):
super(CMETAAType, self).__init__()
self.add_field('... | 11,683 | 42.434944 | 105 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/ACCHZB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PT(TREElement):
def __init__(self, value):
super(PT, self).__init__()
self.add_field('LON', 's', 15, value)
self.add_field('LAT', 's', 15, value)
class ACHZ(TR... | 1,051 | 26.684211 | 57 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/MSTGTA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class MSTGTAType(TREElement):
def __init__(self, value):
super(MSTGTAType, self).__init__()
self.add_field('TGTNUM', 's', 5, value)
self.add_field('TGTID', 's', 12, va... | 950 | 31.793103 | 52 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/PATCHB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PATCHBType(TREElement):
def __init__(self, value):
super(PATCHBType, self).__init__()
self.add_field('PAT_NO', 's', 4, value)
self.add_field('LAST_PAT_FLAG', 's'... | 1,369 | 35.052632 | 54 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/CCINFA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class CODE(TREElement):
def __init__(self, value):
super(CODE, self).__init__()
self.add_field('CODE_LEN', 'd', 1, value)
self.add_field('CODE', 's', self.CODE_LEN, va... | 988 | 29.90625 | 65 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/ASTORA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class ASTORAType(TREElement):
def __init__(self, value):
super(ASTORAType, self).__init__()
self.add_field('IMG_TOTAL_ROWS', 's', 6, value)
self.add_field('IMG_TOTAL_C... | 2,960 | 42.544118 | 58 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/RSMPCA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class RNT(TREElement):
def __init__(self, value):
super(RNT, self).__init__()
self.add_field('RNPCF', 's', 21, value)
class RDT(TREElement):
def __init__(self, value):
... | 2,626 | 33.565789 | 54 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/AIPBCA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class AIPBCAType(TREElement):
def __init__(self, value):
super(AIPBCAType, self).__init__()
self.add_field('PATCH_WIDTH', 's', 5, value)
self.add_field('U_HAT_X', 's',... | 2,229 | 40.296296 | 56 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/RPFDES.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class SECREC(TREElement):
def __init__(self, value):
super(SECREC, self).__init__()
self.add_field('LOCID', 'b', 1, value)
self.add_field('SECLEN', 'b', 1, value)
... | 1,090 | 32.060606 | 91 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/CLCTNB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class SITE(TREElement):
def __init__(self, value):
super(SITE, self).__init__()
self.add_field('SCLCTN_NAME', 's', 20, value)
self.add_field('SDESCRIPTION', 's', 255, ... | 2,022 | 37.903846 | 59 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/PIAIMC.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PIAIMCType(TREElement):
def __init__(self, value):
super(PIAIMCType, self).__init__()
self.add_field('CLOUDCVR', 's', 3, value)
self.add_field('SRP', 's', 1, val... | 1,246 | 34.628571 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/IOMAPA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class IOMAPA_6Type(TREElement):
def __init__(self, value):
super(IOMAPA_6Type, self).__init__()
self.add_field('BAND_NUMBER', 's', 3, value)
self.add_field('MAP_SELECT... | 3,858 | 29.385827 | 94 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/CSDIDA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class CSDIDAType(TREElement):
def __init__(self, value):
super(CSDIDAType, self).__init__()
self.add_field('DAY', 's', 2, value)
self.add_field('MONTH', 's', 3, value)... | 1,186 | 34.969697 | 65 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/CLCTNA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class CLCTNAType(TREElement):
def __init__(self, value):
super(CLCTNAType, self).__init__()
self.add_field('VERNUM', 's', 4, value)
self.add_field('CLCTN_NAME', 's', 2... | 1,767 | 39.181818 | 57 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/USE00A.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class USE00AType(TREElement):
def __init__(self, value):
super(USE00AType, self).__init__()
self.add_field('ANGLE_TO_NORTH', 's', 3, value)
self.add_field('MEAN_GSD', ... | 1,503 | 36.6 | 55 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/RSMIDA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class RSMIDAType(TREElement):
def __init__(self, value):
super(RSMIDAType, self).__init__()
self.add_field('IID', 's', 80, value)
self.add_field('EDITION', 's', 40, va... | 4,117 | 41.020408 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/ACCVTB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PT(TREElement):
def __init__(self, value):
super(PT, self).__init__()
self.add_field('LON', 's', 15, value)
self.add_field('LAT', 's', 15, value)
class ACVT(TR... | 1,051 | 26.684211 | 57 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/J2KLRA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class LAYER(TREElement):
def __init__(self, value):
super(LAYER, self).__init__()
self.add_field('LAYER_ID', 's', 3, value)
self.add_field('BITRATE', 's', 9, value)
... | 973 | 29.4375 | 61 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/MENSRB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class MENSRBType(TREElement):
def __init__(self, value):
super(MENSRBType, self).__init__()
self.add_field('ACFT_LOC', 's', 25, value)
self.add_field('ACFT_LOC_ACCY', ... | 1,512 | 36.825 | 57 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/IMRFCA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class XINC(TREElement):
def __init__(self, value):
super(XINC, self).__init__()
self.add_field('XINC', 's', 22, value)
class XIDC(TREElement):
def __init__(self, value):... | 1,069 | 23.318182 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/REGPTB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PT(TREElement):
def __init__(self, value):
super(PT, self).__init__()
self.add_field('PID', 's', 10, value)
self.add_field('LON', 's', 15, value)
self.ad... | 780 | 25.931034 | 52 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/OFFSET.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class OFFSETType(TREElement):
def __init__(self, value):
super(OFFSETType, self).__init__()
self.add_field('LINE', 's', 8, value)
self.add_field('SAMPLE', 's', 8, valu... | 407 | 21.666667 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/PIXQLA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class AIS(TREElement):
def __init__(self, value):
super(AIS, self).__init__()
self.add_field('AISDLVL', 's', 3, value)
class PIXQUAL(TREElement):
def __init__(self, valu... | 923 | 26.176471 | 64 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/ACCPOB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PT(TREElement):
def __init__(self, value):
super(PT, self).__init__()
self.add_field('LON', 's', 15, value)
self.add_field('LAT', 's', 15, value)
class ACPO(TR... | 1,169 | 28.25 | 57 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/PLTFMA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PLTFMAType(TREElement):
def __init__(self, value):
super(PLTFMAType, self).__init__()
self.add_field('VERNUM', 's', 4, value)
self.add_field('P_NAME', 's', 12, v... | 2,136 | 40.901961 | 55 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/AIMIDB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class AIMIDBType(TREElement):
def __init__(self, value):
super(AIMIDBType, self).__init__()
self.add_field('ACQUISITION_DATE', 's', 14, value)
self.add_field('MISSION_... | 1,284 | 36.794118 | 64 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/RSMDCA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class IMGE(TREElement):
def __init__(self, value):
super(IMGE, self).__init__()
self.add_field('IIDI', 's', 80, value)
self.add_field('NPARI', 'd', 2, value)
class D... | 3,346 | 37.034091 | 68 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/GEOPSB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class GEOPSBType(TREElement):
def __init__(self, value):
super(GEOPSBType, self).__init__()
self.add_field('TYP', 's', 3, value)
self.add_field('UNI', 's', 3, value)
... | 955 | 30.866667 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/PIAPRD.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class SECTT(TREElement):
def __init__(self, value):
super(SECTT, self).__init__()
self.add_field('SECTITLE', 's', 40, value)
self.add_field('PPNUM', 's', 5, value)
... | 2,190 | 31.220588 | 60 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/BANDSB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
# TODO: I'm not entirely confident that these bit operation work as expected
class PARAMETER(TREElement):
def __init__(self, value, EXISTENCE_MASK):
super(PARAMETER, self).__init__()... | 6,291 | 42.09589 | 86 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/PIAPEA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PIAPEAType(TREElement):
def __init__(self, value):
super(PIAPEAType, self).__init__()
self.add_field('LASTNME', 's', 28, value)
self.add_field('FIRSTNME', 's', 2... | 558 | 25.619048 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/GRDPSB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class GRD(TREElement):
def __init__(self, value):
super(GRD, self).__init__()
self.add_field('ZVL', 's', 10, value)
self.add_field('BAD', 's', 10, value)
self.... | 788 | 26.206897 | 56 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/PRJPSB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PRJ(TREElement):
def __init__(self, value):
super(PRJ, self).__init__()
self.add_field('PRJ', 's', 15, value)
class PRJPSBType(TREElement):
def __init__(self, valu... | 739 | 25.428571 | 55 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/IMASDA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class IMASDAType(TREElement):
def __init__(self, value):
super(IMASDAType, self).__init__()
self.add_field('LONTR', 's', 22, value)
self.add_field('LATTR', 's', 22, va... | 837 | 30.037037 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/PIAIMB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PIAIMBType(TREElement):
def __init__(self, value):
super(PIAIMBType, self).__init__()
self.add_field('CLOUD', 's', 3, value)
self.add_field('STDRD', 's', 1, valu... | 928 | 31.034483 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/SOURCB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PT(TREElement):
def __init__(self, value):
super(PT, self).__init__()
self.add_field('LON', 's', 15, value)
self.add_field('LAT', 's', 15, value)
class BP(TREE... | 4,985 | 35.394161 | 58 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/MTIRPA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class VTGT(TREElement):
def __init__(self, value):
super(VTGT, self).__init__()
self.add_field('TGLOC', 's', 21, value)
self.add_field('TGRDV', 's', 4, value)
... | 1,167 | 30.567568 | 55 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/TRGTA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class TGT_QC(TREElement):
def __init__(self, value):
super(TGT_QC, self).__init__()
self.add_field('TGT_QCOMMENT', 's', 40, value)
class TGT_CC(TREElement):
def __init__... | 3,666 | 38.010638 | 73 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/MPDSRA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class MPDSRAType(TREElement):
def __init__(self, value):
super(MPDSRAType, self).__init__()
self.add_field('BLKNO', 's', 2, value)
self.add_field('CDIPR', 's', 2, valu... | 1,487 | 35.292683 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/BCKGDA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class BCKGDAType(TREElement):
def __init__(self, value):
super(BCKGDAType, self).__init__()
self.add_field('BGWIDTH', 's', 8, value)
self.add_field('BGHEIGHT', 's', 8,... | 655 | 27.521739 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/PIAEQA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PIAEQAType(TREElement):
def __init__(self, value):
super(PIAEQAType, self).__init__()
self.add_field('EQPCODE', 's', 7, value)
self.add_field('EQPNOMEN', 's', 45... | 706 | 28.458333 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/CSCRNA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class CSCRNAType(TREElement):
def __init__(self, value):
super(CSCRNAType, self).__init__()
self.add_field('PREDICT_CORNERS', 's', 1, value)
self.add_field('ULCNR_LAT'... | 986 | 33.034483 | 56 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/PATCHA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PATCHA_74Type(TREElement):
def __init__(self, value):
super(PATCHA_74Type, self).__init__()
self.add_field('PAT_NO', 's', 4, value)
self.add_field('LAST_PAT_FLAG... | 3,129 | 31.604167 | 94 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/MTIRPB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class VTGT(TREElement):
def __init__(self, value):
super(VTGT, self).__init__()
self.add_field('TGLOC', 's', 23, value)
self.add_field('TGLCA', 's', 6, value)
... | 1,451 | 32.767442 | 55 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/MENSRA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class MENSRA_155Type(TREElement):
def __init__(self, value):
super(MENSRA_155Type, self).__init__()
self.add_field('CCRP_LOC', 's', 21, value)
self.add_field('CCRP_ALT... | 4,846 | 34.903704 | 94 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/RSMECA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class MAP(TREElement):
def __init__(self, value):
super(MAP, self).__init__()
self.add_field('MAP', 's', 21, value)
class CORSEG(TREElement):
def __init__(self, value):
... | 5,024 | 37.653846 | 76 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/STDIDC.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class STDIDCType(TREElement):
def __init__(self, value):
super(STDIDCType, self).__init__()
self.add_field('ACQUISITION_DATE', 's', 14, value)
self.add_field('MISSION'... | 1,232 | 35.264706 | 58 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/PIAPEB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PIAPEBType(TREElement):
def __init__(self, value):
super(PIAPEBType, self).__init__()
self.add_field('LASTNME', 's', 28, value)
self.add_field('FIRSTNME', 's', 2... | 558 | 25.619048 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/PIATGB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PIATGBType(TREElement):
def __init__(self, value):
super(PIATGBType, self).__init__()
self.add_field('TGTUTM', 's', 15, value)
self.add_field('PIATGAID', 's', 15... | 804 | 29.961538 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/__init__.py |
__classification__ = "UNCLASSIFIED"
| 37 | 11.666667 | 35 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/RPC00B.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class LINE_NUM_COEFF(TREElement):
def __init__(self, value):
super(LINE_NUM_COEFF, self).__init__()
self.add_field('LINE_NUM_COEFF', 's', 12, value)
class LINE_DEN_COEFF(TRE... | 1,930 | 32.877193 | 67 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/RPFHDR.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class RPFHDRType(TREElement):
def __init__(self, value):
super(RPFHDRType, self).__init__()
self.add_field('ENDIAN', 'b', 1, value)
self.add_field('HDSECL', 'b', 2, va... | 794 | 29.576923 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/SENSRB.py |
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
import logging
from ..tre_elements import TREExtension, TREElement
logger = logging.getLogger(__name__)
def get_ref_type_length(typ_val):
typ_val = typ_val.lower()
if typ_val in ['06a', '06c']:
return 11
elif typ_val == '06b... | 10,741 | 42.844898 | 110 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/CSEPHA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class EPHEM(TREElement):
def __init__(self, value):
super(EPHEM, self).__init__()
self.add_field('EPHEM_X', 's', 12, value)
self.add_field('EPHEM_Y', 's', 12, value)
... | 878 | 28.3 | 61 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/IMGDTA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class VER(TREElement):
def __init__(self, value):
super(VER, self).__init__()
self.add_field('VER_NAME', 's', 15, value)
self.add_field('VERNUM', 's', 10, value)
cla... | 3,115 | 41.684932 | 58 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/STREOB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class STREOBType(TREElement):
def __init__(self, value):
super(STREOBType, self).__init__()
self.add_field('ST_ID', 's', 60, value)
self.add_field('N_MATES', 's', 1, v... | 751 | 29.08 | 54 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/PIATGA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PIATGAType(TREElement):
def __init__(self, value):
super(PIATGAType, self).__init__()
self.add_field('TGTUTM', 's', 15, value)
self.add_field('PIATGAID', 's', 15... | 706 | 28.458333 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/AIMIDA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class AIMIDA_69Type(TREElement):
def __init__(self, value):
super(AIMIDA_69Type, self).__init__()
self.add_field('MISSION_DATE', 's', 7, value)
self.add_field('MISSION... | 4,518 | 34.582677 | 94 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/RPC00A.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class LINE_NUM_COEFF(TREElement):
def __init__(self, value):
super(LINE_NUM_COEFF, self).__init__()
self.add_field('LINE_NUM_COEFF', 's', 12, value)
class LINE_DEN_COEFF(TRE... | 1,930 | 32.877193 | 67 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/EXPLTA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class EXPLTA_87Type(TREElement):
def __init__(self, value):
super(EXPLTA_87Type, self).__init__()
self.add_field('ANGLE_TO_NORTH', 's', 3, value)
self.add_field('SQUIN... | 3,153 | 32.2 | 94 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/RPFIMG.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class SECREC(TREElement):
def __init__(self, value):
super(SECREC, self).__init__()
self.add_field('LOCID', 'b', 1, value)
self.add_field('SECLEN', 'b', 1, value)
... | 945 | 29.516129 | 78 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/EXPLTB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class EXPLTBType(TREElement):
def __init__(self, value):
super(EXPLTBType, self).__init__()
self.add_field('ANGLE_TO_NORTH', 's', 7, value)
self.add_field('ANGLE_TO_NO... | 1,235 | 35.352941 | 60 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/CSSFAA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class BAND(TREElement):
def __init__(self, value):
super(BAND, self).__init__()
self.add_field('BAND_TYPE', 's', 1, value)
self.add_field('BAND_ID', 's', 6, value)
... | 1,168 | 31.472222 | 59 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/CSSHPA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class CSSHPAType(TREElement):
def __init__(self, value):
super(CSSHPAType, self).__init__()
self.add_field('SHAPE_USE', 's', 25, value)
self.add_field('SHAPE_CLASS', '... | 849 | 31.692308 | 55 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/OBJCTA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class OBJ(TREElement):
def __init__(self, value):
super(OBJ, self).__init__()
self.add_field('OBJ_TY', 's', 20, value)
self.add_field('OBJ_NM', 's', 15, value)
... | 2,031 | 38.843137 | 65 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/MAPLOB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class MAPLOBType(TREElement):
def __init__(self, value):
super(MAPLOBType, self).__init__()
self.add_field('UNILOA', 's', 3, value)
self.add_field('LOD', 's', 5, value... | 543 | 24.904762 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/RSMGIA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class RSMGIAType(TREElement):
def __init__(self, value):
super(RSMGIAType, self).__init__()
self.add_field('IID', 's', 80, value)
self.add_field('EDITION', 's', 40, va... | 1,580 | 35.767442 | 51 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/RSMAPA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PAR(TREElement):
def __init__(self, value):
super(PAR, self).__init__()
self.add_field('PARVAL', 's', 21, value)
class RSMAPAType(TREElement):
def __init__(self, v... | 2,890 | 37.546667 | 52 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/BLOCKA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class BLOCKAType(TREElement):
def __init__(self, value):
super(BLOCKAType, self).__init__()
self.add_field('BLOCK_INSTANCE', 's', 2, value)
self.add_field('N_GRAY', 's... | 888 | 31.925926 | 55 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/ENGRDA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class RECORD(TREElement):
def __init__(self, value):
super(RECORD, self).__init__()
self.add_field('ENGLN', 'd', 2, value)
self.add_field('ENGLBL', 's', self.ENGLN, va... | 1,034 | 30.363636 | 71 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/NBLOCA.py |
from ..tre_elements import TREExtension, TREElement
import struct
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class FRAME(TREElement):
def __init__(self, value):
super(FRAME, self).__init__()
self.add_field('FRAME_OFFSET', 'b', 4, value)
class NBLOCAType(TREElement):
... | 686 | 25.423077 | 94 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/ICHIPB.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class ICHIPBType(TREElement):
def __init__(self, value):
super(ICHIPBType, self).__init__()
self.add_field('XFRM_FLAG', 's', 2, value)
self.add_field('SCALE_FACTOR', '... | 1,454 | 37.289474 | 54 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/CSEXRA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class CSEXRAType(TREElement):
def __init__(self, value):
super(CSEXRAType, self).__init__()
self.add_field('SENSOR', 's', 6, value)
self.add_field('TIME_FIRST_LINE_IMA... | 1,629 | 39.75 | 63 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/CSPROA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class CSPROAType(TREElement):
def __init__(self, value):
super(CSPROAType, self).__init__()
self.add_field('RESERVED_0', 's', 12, value)
self.add_field('RESERVED_1', '... | 836 | 31.192308 | 52 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/RSMGGA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class PTOFF(TREElement):
def __init__(self, value):
super(PTOFF, self).__init__()
self.add_field('IXO', 's', 4, value)
self.add_field('IYO', 's', 4, value)
class GDP... | 2,434 | 36.461538 | 94 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/BANDSA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class BAND(TREElement):
def __init__(self, value):
super(BAND, self).__init__()
self.add_field('BANDPEAK', 's', 5, value)
self.add_field('BANDLBOUND', 's', 5, value)
... | 1,253 | 32.891892 | 59 | py |
sarpy | sarpy-master/sarpy/io/general/nitf_elements/tres/unclass/CSCCGA.py |
from ..tre_elements import TREExtension, TREElement
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
class CSCCGAType(TREElement):
def __init__(self, value):
super(CSCCGAType, self).__init__()
self.add_field('CCG_SOURCE', 's', 18, value)
self.add_field('REG_SENSOR', '... | 744 | 30.041667 | 55 | py |
sarpy | sarpy-master/sarpy/io/product/base.py | """
Base common features for product readers
"""
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
from typing import Sequence, List, Tuple, Union, Optional
from sarpy.io.general.base import BaseReader
from sarpy.io.general.data_segment import DataSegment
from sarpy.io.product.sidd1_elements.SID... | 4,983 | 38.872 | 141 | py |
sarpy | sarpy-master/sarpy/io/product/sidd.py | """
Module for reading and writing SIDD files
"""
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
import logging
from functools import reduce
import re
from typing import List, Tuple, Sequence, Union, BinaryIO, Optional
import numpy
from sarpy.io.xml.base import parse_xml_from_string
from sar... | 35,176 | 36.784103 | 146 | py |
sarpy | sarpy-master/sarpy/io/product/converter.py | """
This module provide utilities for opening any files analogous to Sensor
Independent Derived Data, namely detected images in the ground plane.
"""
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
import os
from typing import Callable
from sarpy.io.general.base import SarpyIOError, check_for_o... | 2,104 | 22.388889 | 85 | py |
sarpy | sarpy-master/sarpy/io/product/__init__.py | """
This package contains the elements for interpreting product data.
"""
__classification__ = 'UNCLASSIFIED'
def open(*args, **kwargs):
from .converter import open_product
return open_product(*args, **kwargs)
| 221 | 19.181818 | 65 | py |
sarpy | sarpy-master/sarpy/io/product/sidd_schema/__init__.py | __classification__ = 'UNCLASSIFIED'
__author__ = "Thomas McCullough"
import os
import re
import logging
from typing import List, Dict, Optional
logger = logging.getLogger('validation')
_the_directory = os.path.split(__file__)[0]
urn_mapping = {
'urn:SIDD:1.0.0': {
'ism_urn': 'urn:us:gov:ic:ism',
... | 5,450 | 26.39196 | 97 | py |
sarpy | sarpy-master/sarpy/io/product/sidd2_elements/Compression.py | """
The CompressionType definition.
"""
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
from typing import Union
import numpy
from sarpy.io.xml.base import Serializable
from sarpy.io.xml.descriptors import SerializableDescriptor, IntegerDescriptor, \
FloatArrayDescriptor
from .base import ... | 3,752 | 31.921053 | 112 | py |
sarpy | sarpy-master/sarpy/io/product/sidd2_elements/Measurement.py | """
The MeasurementType definition.
"""
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
from typing import Union, List
from sarpy.io.xml.base import Serializable, SerializableArray
from sarpy.io.xml.descriptors import SerializableDescriptor, UnitVectorDescriptor, \
FloatDescriptor, StringEnu... | 15,215 | 42.350427 | 120 | py |
sarpy | sarpy-master/sarpy/io/product/sidd2_elements/base.py |
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
DEFAULT_STRICT = False
FLOAT_FORMAT = '0.17G'
| 118 | 13.875 | 35 | py |
sarpy | sarpy-master/sarpy/io/product/sidd2_elements/DigitalElevationData.py | """
The DigitalElevationDataType definition.
"""
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
from typing import Union, List
import numpy
from sarpy.io.xml.base import Serializable
from sarpy.io.xml.descriptors import SerializableDescriptor, IntegerDescriptor, \
FloatDescriptor, FloatLis... | 10,095 | 39.384 | 101 | py |
sarpy | sarpy-master/sarpy/io/product/sidd2_elements/ExploitationFeatures.py | """
The ExploitationFeaturesType definition.
"""
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
import logging
import datetime
from typing import Union, List
import numpy
from sarpy.io.xml.base import Serializable, ParametersCollection
from sarpy.io.xml.descriptors import SerializableDescript... | 34,922 | 37.461454 | 117 | py |
sarpy | sarpy-master/sarpy/io/product/sidd2_elements/Annotations.py | """
The AnnotationsType definition.
"""
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
import logging
from typing import Union, List
import numpy
from .base import DEFAULT_STRICT, FLOAT_FORMAT
from sarpy.io.xml.base import Serializable, create_new_node, create_text_node, \
get_node_value,... | 30,854 | 34.303204 | 118 | py |
sarpy | sarpy-master/sarpy/io/product/sidd2_elements/SIDD.py | """
The SIDDType 2.0 definition.
"""
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
import logging
from typing import Union, Tuple
from collections import OrderedDict
from copy import deepcopy
import numpy
from sarpy.io.xml.base import Serializable, parse_xml_from_string, parse_xml_from_file
f... | 18,656 | 38.360759 | 118 | py |
sarpy | sarpy-master/sarpy/io/product/sidd2_elements/ProductCreation.py | """
The ProductCreationType definition.
"""
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
import logging
from typing import Union
from datetime import datetime
import numpy
from sarpy.io.xml.base import Serializable, ParametersCollection
from sarpy.io.xml.descriptors import SerializableDescri... | 16,798 | 41.421717 | 118 | py |
sarpy | sarpy-master/sarpy/io/product/sidd2_elements/ProductProcessing.py | """
The ProductProcessingType definition.
"""
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
from collections import OrderedDict
from xml.etree import ElementTree
from typing import List
from sarpy.io.xml.base import Serializable, ParametersCollection, \
find_children, find_first_child, get... | 9,935 | 37.215385 | 119 | py |
sarpy | sarpy-master/sarpy/io/product/sidd2_elements/__init__.py |
__classification__ = 'UNCLASSIFIED'
| 37 | 11.666667 | 35 | py |
sarpy | sarpy-master/sarpy/io/product/sidd2_elements/GeoData.py | """
The GeoDataType definition.
"""
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
from collections import OrderedDict
from typing import Union, List
from xml.etree import ElementTree
from sarpy.io.xml.base import Serializable, SerializableArray, find_children
from sarpy.io.xml.descriptors impo... | 6,375 | 39.35443 | 119 | py |
sarpy | sarpy-master/sarpy/io/product/sidd2_elements/Display.py | """
The ProductDisplayType definition.
"""
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
from typing import Union, List
from sarpy.io.xml.base import Serializable, SerializableArray, ParametersCollection
from sarpy.io.xml.descriptors import SerializableDescriptor, SerializableListDescriptor, ... | 27,598 | 40.192537 | 118 | py |
sarpy | sarpy-master/sarpy/io/product/sidd2_elements/DownstreamReprocessing.py | """
The DownstreamReprocessingType definition.
"""
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
from typing import Union, List
from datetime import datetime
import numpy
from sarpy.io.xml.base import Serializable, ParametersCollection
from sarpy.io.xml.descriptors import SerializableDescript... | 7,105 | 43.691824 | 111 | py |
sarpy | sarpy-master/sarpy/io/product/sidd2_elements/blocks.py | """
Multipurpose basic SIDD elements
"""
__classification__ = "UNCLASSIFIED"
__author__ = "Thomas McCullough"
from collections import OrderedDict
from typing import Union
import numpy
from sarpy.io.xml.base import Serializable, Arrayable, get_node_value, create_text_node, create_new_node, find_children
from sarpy.i... | 30,510 | 31.252643 | 120 | py |
sarpy | sarpy-master/sarpy/io/product/sidd3_elements/Compression.py | """
Types implementing the SIDD 3.0 Compression Parameters
"""
__classification__ = 'UNCLASSIFIED'
# SIDD 3.0 reuses the SIDD 2.0 types. Make those symbols available in this module.
from sarpy.io.product.sidd2_elements.Compression import (
J2KSubtype,
J2KType,
CompressionType,
)
__REUSED__ = ( # to avoi... | 400 | 21.277778 | 83 | py |
sarpy | sarpy-master/sarpy/io/product/sidd3_elements/Measurement.py | """
Types implementing the SIDD 3.0 Measurement Parameters
"""
__classification__ = 'UNCLASSIFIED'
# SIDD 3.0 reuses the SIDD 2.0 types. Make those symbols available in this module.
from sarpy.io.product.sidd2_elements.Measurement import (
BaseProjectionType,
MeasurableProjectionType,
ProductPlaneType,
... | 726 | 24.964286 | 83 | py |
sarpy | sarpy-master/sarpy/io/product/sidd3_elements/base.py |
__classification__ = "UNCLASSIFIED"
DEFAULT_STRICT = False
FLOAT_FORMAT = '0.17G'
| 85 | 11.285714 | 35 | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.