comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Georectify airborne image data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Georectify airborne image data [message #92492] Wed, 30 December 2015 06:17 Go to previous message
sawahrman is currently offline  sawahrman
Messages: 2
Registered: December 2015
Junior Member
Hello,

I've written some code for georectifying airborne image data, but I'm stuck at one particular point. I'm reading in a GPS file and keep getting this error: READ_CSV: OPENR: Null filename not allowed - see code below.

gps_csv_path = FILE_SEARCH(strjoin([HSI_parent_dir,'*GPS.csv']))
all_POS_csv_files = FILE_SEARCH(strjoin([HSI_VNIR_data_dir,'*POS.csv']))

; check to see if the output directories we want exist, if they don't, then create them
if (FILE_TEST(IGMGLT_dir) ne 1) then FILE_MKDIR, IGMGLT_dir
if (FILE_TEST(georect_dir) ne 1) then FILE_MKDIR, georect_dir

;read in the elevation data
elevation_geotiff = read_tiff(elevation_file,geotiff=elevation_tags)

;read in all the gps data and put it in a useable form
gps_data = read_csv(gps_csv_path, HEADER=gpsHeader, N_TABLE_HEADER=1, TABLE_HEADER=gpsTableHeader)
los_az_el = losAzElFromLosLatLon(gps_data)
gps_data.field04 = los_az_el[*,0]
gps_data.field03 = los_az_el[*,1]

Does anything stand out to anyone out there? I appreciate the help.
[Message index]
 
Read Message
Read Message
Previous Topic: legends with two different symbols at one line
Next Topic: 4D interpolation

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:37:12 PDT 2025

Total time taken to generate the page: 0.00387 seconds