New answers tagged select-by-attribute
Should be a fairly simple query. In Qgis, use select by expression. Under fields and values select the ID field, find the unique ID for the station you would like and you can return all the values for that station. As and example "ID= MissoulaWX". You can add other conditionals to the statement to select for a specific date or range of dates. Others have ...
Your method assigns CB as a list not the individual lines in the file. Try opening your file like this: f = open('M:/Elevation_Masks/elevs.txt','r') for line in f: cb = line.strip('\n') # Carry on with the loop
You need to either set cb to the first element of the list of lines cb = [line.strip() for line in f] or loop over the list of country names in your file. with open('M:/Elevation_Masks/elevs.txt', 'r') as f: cb = [line.strip() for line in f] CNTRY_NAME_FIELD = 'CNTRY_NAME' for dirpath, dirnames, filenames in arcpy.da.Walk(cl, ...
Top 50 recent answers are included