added tide data for DEMO

master
Jonathan Chan 2 years ago
parent 759a426a51
commit 9c762c20a2

@ -264,8 +264,8 @@ Downloads images from Spotteron API for all beaches specified in batch_download.
#all_beaches = pd.read_csv(r"C:\Users\z5079346\OneDrive - UNSW\Code\coastsnap\coastsnap\spotteron_batch_download\batch_download.csv") #all_beaches = pd.read_csv(r"C:\Users\z5079346\OneDrive - UNSW\Code\coastsnap\coastsnap\spotteron_batch_download\batch_download.csv")
# Retrieve Parent Directory in batch_download.csv # Retrieve Parent Directory in batch_download.csv
parent_directory = coastsnap_sites.parent_directory[0] CoastSnap_directory = coastsnap_sites.parent_directory[0]
print(parent_directory) parent_directory = path.join(CoastSnap_directory, 'Images')
for index, beach in coastsnap_sites.iterrows(): for index, beach in coastsnap_sites.iterrows():

@ -146,3 +146,10 @@ for site in os.listdir(images_dir): # Loop through SITES
image2tag.create_tag() image2tag.create_tag()
tag_image(image2tag) tag_image(image2tag)
if not site_complete:
if i == 0:
print(site + ": " + str(i) + " images tagged")
elif image2tag.tide:
print(site + ": " + str(i) + " images tagged with tide")
else:
print(site + ": " + str(i) + " images tagged no tide")

@ -1,38 +1,4 @@
site_name,root_id,limit,type,parent_directory site_name,root_id,limit,type,parent_directory
alex,487451,300,CoastSnap Station,C:\Users\z5079346\OneDrive - UNSW\My files\CoastSnap blacksmiths,269988,5,CoastSnap Station,C:\Users\z5079346\OneDrive - UNSW\Projects\Coastsnap\CoastSnap_DEMO
birubi,548070,300,CoastSnap Station, cathieillaroo,393016,5,CoastSnap Station,
blacksmiths,269988,300,CoastSnap Station, manly,242186,5,CoastSnap Station,
broulee,269990,300,CoastSnap Station,
buddina,487447,300,CoastSnap Station,
burleigh,303934,300,CoastSnap Station,
byron,269991,300,CoastSnap Station,
cathieillaroo,393016,300,CoastSnap Station,
cathielagoon,392988,300,CoastSnap Station,
coogee,286418,300,DIY,
coolum,487449,300,CoastSnap Station,
cooya,275690,300,CoastSnap Station,
cowbay,275692,300,CoastSnap Station,
era,297634,300,CoastSnap Station,
fourmile,275689,300,CoastSnap Station,
frankston,425039,300,CoastSnap Station,
garie,296239,300,CoastSnap Station,
hungry,296903,300,CoastSnap Station,
kirra,270011,300,CoastSnap Station,
macsnth,257393,300,DIY,
macssth,404754,300,DIY,
manly,242186,300,CoastSnap Station,
moffat,487448,300,CoastSnap Station,
newell,275691,300,CoastSnap Station,
nthnarra,243537,300,CoastSnap Station,
queenscliff,269334,300,CoastSnap Station,
rainbow,451612,300,CoastSnap Station,
seaford,421320,300,CoastSnap Station,
shortpoint,269992,300,CoastSnap Station,
stockton1,269985,300,CoastSnap Station,
stockton2,269986,300,CoastSnap Station,
stockton3,269987,300,CoastSnap Station,
tomakin,269989,300,CoastSnap Station,
tugun,269993,300,CoastSnap Station,
wamberal,299431,300,CoastSnap Station,
wonga,268307,300,CoastSnap Station,
woolgooga,435190,300,CoastSnap Station,

1 site_name root_id limit type parent_directory
2 alex blacksmiths 487451 269988 300 5 CoastSnap Station C:\Users\z5079346\OneDrive - UNSW\My files\CoastSnap C:\Users\z5079346\OneDrive - UNSW\Projects\Coastsnap\CoastSnap_DEMO
3 birubi cathieillaroo 548070 393016 300 5 CoastSnap Station
4 blacksmiths manly 269988 242186 300 5 CoastSnap Station
broulee 269990 300 CoastSnap Station
buddina 487447 300 CoastSnap Station
burleigh 303934 300 CoastSnap Station
byron 269991 300 CoastSnap Station
cathieillaroo 393016 300 CoastSnap Station
cathielagoon 392988 300 CoastSnap Station
coogee 286418 300 DIY
coolum 487449 300 CoastSnap Station
cooya 275690 300 CoastSnap Station
cowbay 275692 300 CoastSnap Station
era 297634 300 CoastSnap Station
fourmile 275689 300 CoastSnap Station
frankston 425039 300 CoastSnap Station
garie 296239 300 CoastSnap Station
hungry 296903 300 CoastSnap Station
kirra 270011 300 CoastSnap Station
macsnth 257393 300 DIY
macssth 404754 300 DIY
manly 242186 300 CoastSnap Station
moffat 487448 300 CoastSnap Station
newell 275691 300 CoastSnap Station
nthnarra 243537 300 CoastSnap Station
queenscliff 269334 300 CoastSnap Station
rainbow 451612 300 CoastSnap Station
seaford 421320 300 CoastSnap Station
shortpoint 269992 300 CoastSnap Station
stockton1 269985 300 CoastSnap Station
stockton2 269986 300 CoastSnap Station
stockton3 269987 300 CoastSnap Station
tomakin 269989 300 CoastSnap Station
tugun 269993 300 CoastSnap Station
wamberal 299431 300 CoastSnap Station
wonga 268307 300 CoastSnap Station
woolgooga 435190 300 CoastSnap Station
Loading…
Cancel
Save