To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit d397d46b authored by matthmey's avatar matthmey
Browse files

updated header

parent 932054cd
MIT License
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich)
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich), Matthias Meyer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
'''MIT License
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich)
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich), Matthias Meyer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
'''MIT License
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich)
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich), Matthias Meyer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
'''MIT License
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich)
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich), Matthias Meyer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
'''MIT License
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich)
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich), Matthias Meyer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......@@ -125,6 +125,7 @@ class GSNDataSource(DataSource):
)
def forward(self, data=None, request=None):
# code from Samuel Weber
#### 1 - DEFINE VSENSOR-DEPENDENT COLUMNS ####
metadata = Path(get_setting("metadata_directory")).joinpath(
"vsensor_metadata/{:s}_{:s}.csv".format(
......@@ -666,7 +667,7 @@ class MHDSLRFilenames(DataSource):
if config["store"] is not None:
if filename in config["store"]:
imglist_df = read_csv_with_store(config["store"],filename)
sucess = True
success = True
elif config['force_write_to_remote']:
# try to reload it and write to remote
imglist_df = self.image_integrity_store(config["store"])
......@@ -699,7 +700,7 @@ class MHDSLRFilenames(DataSource):
imglist_df = self.image_integrity(config["base_directory"])
# imglist_df.to_parquet(imglist_filename)
imglist_df.to_csv(imglist_filename,index=False)
else:
elif not success:
# if there is no tmp_dir we can load the image list but
# we should warn the user that this is inefficient
imglist_df = self.image_integrity(config["base_directory"])
......
'''MIT License
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich)
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich), Matthias Meyer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
'''MIT License
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich)
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich), Matthias Meyer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
'''MIT License
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich)
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich), Matthias Meyer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
'''MIT License
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich)
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich), Matthias Meyer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
'''MIT License
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich)
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich), Matthias Meyer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
'''MIT License
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich)
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich), Matthias Meyer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
'''MIT License
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich)
Copyright (c) 2019, Swiss Federal Institute of Technology (ETH Zurich), Matthias Meyer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment