Skip to content

Issue on page /tutorials/sar/uavsar-download.html #169

@falahfakhri-Iraq

Description

@falahfakhri-Iraq

UnboundLocalError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_3204\3970605443.py in <cell line: 2>()
1 # call the tiff convert function, and it will print the information it extracted from the .ann file
----> 2 uavsar_tiff_convert(data_folder)

~\AppData\Local\Temp\ipykernel_3204\4031231228.py in uavsar_tiff_convert(folder)
106 sources.write(re.sub(line[8:13], Lines, line))
107 elif "samples" in line:
--> 108 sources.write(re.sub(line[10:15], Samples, line))
109 elif "LAT" in line:
110 sources.write(re.sub(line[12:15], Latitude, line))

UnboundLocalError: local variable 'Samples' referenced before assignment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions