Esempio n. 1
0
 def parse_band_access_count(self, coverage_name, start_date, end_date):
     """
     Parses information about the access count on bands for the coverage/layer with the passed name.
     :param <string> coverage_name: the coverage/layer name to be analyzed.
     """
     return HAParser.print_as_json_array(
         DbReader.read_coverage_bands_totals(coverage_name, start_date,
                                             end_date))
Esempio n. 2
0
 def parse_bbox_access_count(self, start_date, end_date):
     """
     Parses information about the access counts of the accessed bounding boxes.
     """
     return HAParser.print_as_json_array(
         DbReader.read_bbox_access_totals(start_date, end_date))
Esempio n. 3
0
 def parse_used_coverages_count(self, start_date, end_date):
     """
     Parses information about the access counts of all coverages/layers.
     """
     return HAParser.print_as_json_array(
         DbReader.read_used_coverages_totals(start_date, end_date))
Esempio n. 4
0
 def parse_services_access_count(self, start_date, end_date):
     """
     Parses information about the access counts of the services (rasdaman, geoserver, w*s).
     """
     return HAParser.print_as_json_array(
         DbReader.read_service_access_by_date(start_date, end_date))
 def parse_band_access_count(self, coverage_name, start_date, end_date):
     """
     Parses information about the access count on bands for the coverage/layer with the passed name.
     :param <string> coverage_name: the coverage/layer name to be analyzed.
     """
     return HAParser.print_as_json_array(DbReader.read_coverage_bands_totals(coverage_name, start_date, end_date))
 def parse_used_coverages_count(self, start_date, end_date):
     """
     Parses information about the access counts of all coverages/layers.
     """
     return HAParser.print_as_json_array(DbReader.read_used_coverages_totals(start_date, end_date))
 def parse_bbox_access_count(self, start_date, end_date):
     """
     Parses information about the access counts of the accessed bounding boxes.
     """
     return HAParser.print_as_json_array(DbReader.read_bbox_access_totals(start_date, end_date))
 def parse_services_access_count(self, start_date, end_date):
     """
     Parses information about the access counts of the services (rasdaman, geoserver, w*s).
     """
     return HAParser.print_as_json_array(DbReader.read_service_access_by_date(start_date, end_date))