Skip to content

geolocate_uavsar hanging #34

@jacktarricone

Description

@jacktarricone

@ZachKeskinen @rpalomaki Issue with geolocate_uavsar. Maybe test it out on your local machines and see if it will work? It produced the llh .tifs, but then isn't ingesting them to the geocodeUsingGdalWarp function.

%matplotlib inline
import sys
import os
import glob
import numpy as np
from osgeo import gdal
import matplotlib.pyplot as plt
import rasterio as rio
from rasterio.plot import show
from uavsar_pytools.georeference import geolocate_uavsar

## set function inputs

# input data
unw_data = '/Users/jacktarricone/jemez_isce/igrams/20200212T1545_20200226T1627/20200212T1545_20200226T1627.unw_snaphu.unw.vrt'

# annotationn file
ann_fp = '/Users/jacktarricone/jemez_isce/download/alamos_35915_20013_000_200226_L090HH_01_BU.ann'

# saving directory
out_dir = '/Users/jacktarricone/jemez_isce/igrams/20200212T1545_20200226T1627'

# lat lon heigh file
llh_fp = '/Users/jacktarricone/jemez_isce/download/alamos_35915_01_BU_s1_2x8.llh'

# run funciton
unw_geolocated = geolocate_uavsar(in_fp = unw_data, ann_fp = ann_fp, out_dir = out_dir, llh_fp = llh_fp)
print(unw_geolocated[0])

output
Screen Shot 2022-06-29 at 10 42 36 AM

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions