Interface BytimeController

All Known Implementing Classes:
BytimeControllerDecorator, BytimeControllerImpl

public interface BytimeController
Retrieve a single product from a remote Long-term Archive by product type and time interval (Generated with springmvc-raml-parser v.2.0.5)
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<RestProduct>
    downloadBySensingTime(String productType, String startTime, String stopTime, String facility, org.springframework.http.HttpHeaders httpHeaders)
    Provide the product with the given product type and the exact sensing start and stop times at the given processing facility.
  • Method Details

    • downloadBySensingTime

      org.springframework.http.ResponseEntity<RestProduct> downloadBySensingTime(String productType, String startTime, String stopTime, String facility, org.springframework.http.HttpHeaders httpHeaders)
      Provide the product with the given product type and the exact sensing start and stop times at the given processing facility. If it already is available there, do nothing and just return the product metadata. If it is not available locally, query all configured LTAs for a product with the given search criteria. The first response is evaluated: If multiple products fulfilling the criteria are found in the LTA, the product with the most recent generation time will be used. In the (unlikely) case of several products having the same generation time, the product with the greatest file name (alphanumeric string comparison) will be used. The product metadata is returned to the caller, then the product is downloaded from the LTA and ingested at the given processing facility.