Skip to content

Instantly share code, notes, and snippets.

View kathysll's full-sized avatar
💭
Programming is fun

Kathy kathysll

💭
Programming is fun
  • Florida
View GitHub Profile
import os
os.chdir(r"\\tank3\production\Boresight\project\GV1825A_N977GV_D20190604_A\tif_old\test")
for f in os.listdir():
f_name, f_ext=os.path.splitext(f)
f_name = f_name.strip()[1:]
f_ext = str(".tif")
import os
cr2Directory = "//tank4/production/2018/geomni/ga/USGAATL/raw_data/GV1704A_N4950U_D20181211_A"
jpegDirectory = "//tank4/production/2018/geomni/ga/USGAATL/project_data/imagery/GV1704A_N4950U_D20181211_A"
cr2List =[]
jpegList=[]
for root, dirs, files in os.walk(cr2Directory):
for filename in files:
if filename.endswith(".CR2"):
import arcpy
arcpy.env.overwriteOutput = True
output_folder = r'\\tank1\production\2019\geomni\nc\USNCASH\user_data\Maps'
in_kml_file = output_folder + r'\USNCASH.kmz'
output_data = "USNCASH"
in_features = "USNCASH\Polygons"