1. 31 Mar, 2020 1 commit
  2. 30 Mar, 2020 1 commit
  3. 22 Jul, 2019 1 commit
  4. 01 Mar, 2018 1 commit
  5. 20 Feb, 2018 1 commit
  6. 14 Feb, 2018 1 commit
  7. 02 Feb, 2018 2 commits
  8. 13 Dec, 2017 1 commit
  9. 12 Dec, 2017 1 commit
  10. 05 Dec, 2017 1 commit
  11. 27 Nov, 2017 1 commit
  12. 24 Nov, 2017 2 commits
  13. 20 Oct, 2017 1 commit
  14. 22 Sep, 2017 1 commit
  15. 15 Sep, 2017 1 commit
  16. 30 Aug, 2017 1 commit
  17. 19 Jul, 2017 1 commit
  18. 14 Jul, 2017 1 commit
  19. 23 May, 2017 1 commit
  20. 07 Apr, 2017 1 commit
    • Daniel Scheffler's avatar
      revised progress updater during running job · 14911ad4
      Daniel Scheffler authored
      algorithms.gms_object:
      - revised failed_GMS_object: now accepts only instances of gms_object and OrderedDicts; removed DB query
      misc.exception_handler:
      - trace_unhandled_exceptions.wrapped_GMS_mapper:
          - bugfix
          - enhanced documentation
          - revised call of failed_GMS_object
      processing.process_controller:
      - run_all_processors(): bugfix
      - update_DB_job_statistics(): fix for double statistics update in case of subsystems
      updated __version__
      Former-commit-id: d7f01df7
      Former-commit-id: f5404bf9
      14911ad4
  21. 30 Mar, 2017 1 commit
    • Daniel Scheffler's avatar
      fixed an issue during calculation of true data corners during L2A, Fix for... · f5eea438
      Daniel Scheffler authored
      fixed an issue during calculation of true data corners during L2A, Fix for deadlock during DEM calculation at 180 degrees meridian
      algorithms.L1A_P:
      - calc_corner_positions(): bugfix
      algorithms.L1C_P.AtmCorr:
      - _join_results_to_inObjs(): splitted into four separate functions
      - added _join_data_ac(): based on _join_results_to_inObjs(); AC nodata values within dataset are no longer overwritten with fill values but with outFill
      - added _join_data_errors(): based on _join_results_to_inObjs()
      - added _join_mask_clouds(): based on _join_results_to_inObjs()
      - added _join_mask_confidence_array(): based on _join_results_to_inObjs()
      io.Input_reader:
      - get_dem_by_extent(): fixed an issue in case of a scene directly at 180 degrees meridian
      misc.definition_dicts:
      - get_outFillZeroSaturated(): changed outZero value of uint16
      - updated __version__
      Former-commit-id: ab3aa1a5
      Former-commit-id: 487c9e2e
      f5eea438
  22. 28 Mar, 2017 1 commit
    • Daniel Scheffler's avatar
      revised job statistics updater · 2b66ea9d
      Daniel Scheffler authored
       misc.database_tools:
       - added increment_decrement_arrayCol_in_postgreSQLdb()
       - GMS_JOB:
           - _populate_jobAttrs_from_sceneInfoGDF() / create(): updated statistics
           - added reset_job_progress()
           - implemented update_db_entry()
       misc.definition_dicts:
       - updated db_jobs_statistics_def
       misc.exception_handler:
       - log_uncaught_exceptions.wrapped_GMS_mapper(): revised statistics updating scheme (now also properly working for scenes with subsystems
       processing.process_controller.process_controller:
       - run_all_processors(): added reset of job progress in database
      - updated __version__
      Former-commit-id: 811477d3
      Former-commit-id: 0b237688
      2b66ea9d
  23. 27 Mar, 2017 1 commit
    • Daniel Scheffler's avatar
      statistics column of jobs table in pgSQL database is now properly updated during processing · f65899ca
      Daniel Scheffler authored
      misc.database_tools.GMS_JOB:
      - added attributes 'status' and 'statistics'
      - db_entry: added docstring
      - _populate_jobAttrs_from_sceneInfoGDF(): now also sets self.statistics
      - create(): now also sets self.statistics
      misc.definition_dicts:
      - added dictionary 'db_jobs_statistics_def': added automatic de- and incrementing of scene count included in statistics column of jobs table in database
      misc.exception_handler:
      - trace_unhandled_exceptions.wrapped_GMS_mapper():
      - updated __version__
      Former-commit-id: d5593e78
      Former-commit-id: cd1e7a26
      f65899ca
  24. 24 Jan, 2017 2 commits
  25. 21 Jan, 2017 1 commit
    • Daniel Scheffler's avatar
      first version fully operable for Sentinel-2 (including atmospheric correction and cloud masks) · 3282d365
      Daniel Scheffler authored
      algorithms.gms_object.GMS_object:
      - GMS_identifier: is only a getter now, not a singleton
      - added property 'MetaObj' / 'meta_odict' -> self-synchronizing
      - added LayerBandsAssignment.setter
      - revised arr.setter
      - revised mask_nodata.setter
      - mask_clouds.getter: bugfix
      - revised mask_clouds.setter
      - added property 'mask_clouds_confidence'
      - revised masks.setter
      - revised dem.setter
      - ac_options: number of CPUs are now passed (temporarily disabled)
      - revised ac_errors.setter
      - added LBA2bandnames
      - attributes2dict: bugfix for not addin meta_odict
      - revised from_tiles()
      - added from_sensor_subsystems(): a function for merging multiple subsystems of the same sensor (needed for Sentinel-2 and ASTER)
      - revised build_combined_masks_array()
      - get_subset_obj(): multiple bugfixes
      - to_GMS_file(): updated in the context of new property architecture
      - delete_previous_proc_level_results: added functionality to delete subsystem products after subsystems have been merged
      algorithms.gms_object.failed_GMS_object:
      - removed logger creation
      algorithms.L1A_P.L1A_object:
      - import_metadata(): updated METADATA call
      - calc_TOARadRefTemp: added warning when using Sentinel-2 Gains
      - calc_corner_positions(): added UTC timezone to datetime object
      algorithms.L1B_P.L1B_object:
      - _get_reference_image_params_pgSQL(): replaced temp_logger by self.logger
      - revised correct_spatial_shifts()
      algorithms.L1C_P:
      - L1C_object:
          - removed deprecated atm_corr()
      - AtmCorr:
          - __init__: added warning
          - revised data property
          - _meta_get_aux_data(): changed lonlat_arr to float16
          - run_atmospheric_correction(): added 'dump' keyword
          - revised _join_results_to_inObjs()
      algorithms.L2B_P.L2B_object:
      - spectral_homogenization(): bugfix
      algorithms.METADATA:
      - METADATA:
          - __init__(): is now initialized by GMS_identifier; does not directly run metadata reader
          - added read_meta()
          - Read_Sentinel2A_xmls(): updated setting of Gains
          - refactored to_meta_odict() to to_odict() and revised the function
          - added from_odict()
          - revised filter_layerdependent_metadata()
          - added 'map_odictKeys_objAttrnames'
          - get_LayerBandsAssignment():
              - added functionality to return full LBA for Sentinel-2 and ASTER
              - now properly handles bands removed after L1C and L2B
      io.Output_writer:
      - mask_to_ENVI_Classification(): bugfix
      misc.definition_dicts:
      - get_GMS_sensorcode(): added codes for Sentinel-2 full and ASTER full
      - get_outFillZeroSaturated(): added bool dtype
      - is_dataset_provided_as_fullScene(): added ASTER full and Sentinel-2 full
      misc.exception_handler:
      - log_uncaught_exceptions(): bugfix for 'disable_exception_handler'
      misc.helper_functions:
      - cut_GMS_obj_into_blocks(): bugfix
      misc.logging.GMS_logger:
      - added scene ID to formatter
      misc.mgrs_tile:
      - replaced deprecated reference
      misc.path_generator:
      - get_baseN(): bugfix
      - added get_path_ac_input_dump()
      processing.multiproc:
      - MAP: added functionality to disable multiprocessing
      processing.pipeline:
      - revised L2A_map(): new L2A calls
      processing.process_controller:
      - add_local_availability(): changed get_LayerBandsAssignment call
      - get_DB_objects(): bugfix for copied memory link during GMS object init
      - L1C_processing() raises NotImplementedError in tiled mode
      - L2A_processing(): added grouping of subsystems
      - updated __version__
      3282d365
  26. 16 Jan, 2017 1 commit
    • Daniel Scheffler's avatar
      third version of wrapper for atmospheric correction (first working version) · 6fa974e0
      Daniel Scheffler authored
      algorithms.GEOPROCESSING:
      - GEOPROCESSING: conversion_type_optical value renamed from 'Ref' to 'TOA_Ref' and 'BOA_Ref'
      - added keyword 'meshwidth' to the following functions (allows much faster processing):
          - zoom_2Darray_to_shapeFullArr()
          - adjust_acquisArrProv_to_shapeFullArr()
          - get_lonlat_coord_array():revised calculation of meshgrid
          - calc_VZA_array()
          - calc_AcqTime_array()
          - calc_SZA_SAA_array()
      - calc_RAA_array(): now receives a VAA_array instead of VAA_mean
      algorithms.gms_object:
      - added attributes 'fullSceneCornerPos' and 'fullSceneCornerPos'
      - logger: added assertion
      - added property 'log'
      - added dem deleter
      - revised property 'ac_options'
      - added property 'ac_errors'
      - added property 'subset'
      - refactored attribute 'acquisition_date' to 'acq_datetime' containing a full datetime timestamp in UTC time zone
      - to_GMS_file(): updated timestamp format
      algorithms.L1A_P.L1A_object:
      - get_MetaObj(): now also updates 'acq_datetime'
      - refactored get_MetaObj() to import_metadata()
      - included set_arr_desc_from_MetaObj() in import_metadata()
      - calc_TOARadRefTemp(): updated in the context of "conversion_type_optical" value change to 'TOA_Ref'
      - calc_cloud_mask(): temporarily excluded Sentinel-2 here; added code draft of S2A cloud mask calculation
      - calc_corner_positions(): major revision -> now calculates trueDataCornerPos/-LonLat AND fullSceneCornerPos/-LonLat
      - calc_center_AcqTime() now also updates 'acq_datetime'
      algorithms.L1B_P.ref_Scene:
      - moved _get_reference_image_params_pgSQL() and _sceneIDList_to_filt_overlap_scenes() to L1B_object
      algorithms.L1C_P.L1C_object:   -> major revision
      - added properties 'lonlat_arr', 'VZA_arr', 'VAA_arr', 'SZA_arr', 'SAA_arr', 'RAA_arr' based on get_lonlat_coord_array() and calc_acquisition_illumination_geometry()
      - removed deprecated functions get_lonlat_coord_array() and calc_acquisition_illumination_geometry()
      - revised delete_ac_input_arrays()
      algorithms.L1C_P.AtmCorr:
      - revised property 'logger'
      - metadata: added some tests
      - revised _meta_get_viewing_zenith(), _meta_get_viewing_azimuth(), _meta_get_relative_viewing_azimuth()
      - added _meta_get_aux_data()
      - added _get_dem()
      - added dummy version of _get_srf()
      - run_atmospheric_correction(): added docstring; some minor revisions
      - _join_results_to_inObjs(): now working
      algorithms.METADATA:
      - added property AcqDateTime: returns a full datetime object with UTC timezone
      - revised setters for AcqDate, AcqTime and AcqDateTime -> timezone now properly handled
      - refactored 'Meta2ODict' to 'to_meta_odict'
      - calc_center_acquisition_time(): now also sets AcqDateTime
      - get_LayerBandsAssignment(): processing level is now properly handled (in the context of missing bands after atmospheric correction)
      misc.database_tools:
      - renamed keyword 'trueDataCornerLonLat' to 'tgt_corners_lonlat' in the following functions:
          - get_pgSQL_geospatial_query_cond()
          - get_overlapping_scenes_from_postgreSQLdb()
          - get_overlapping_MGRS_tiles()
          - get_overlapping_MGRS_tiles2()
      misc.definitions_dicts:
      - added is_dataset_provided_as_fullScene()
      misc.exception_handler:
      - log_uncaught_exceptions:  exception handling is now optional and can be turned off via config
      misc.helper_functions:
      - modified some docstrings
      misc.logging.GMS_logger:
      - added property 'captured_stream' (not yet working)
      - added draft of StringIO handler (not yet working)
      misc.logging.path-generator:
      - get_path_srf_file: bugfix
      processing.pipeline:
      - L1A_map(): updated calls
      - L1A_map_1(): updated calls
      - revised L1C_map()
      processing.process_controller:
      - add_local_availability(): added comments and revised structure
      config:
      - Job:
          - added attribute 'disable_exception_handler'
          - added attribute 'scale_factor_BOARef'
          - added attribute 'scale_factor_errors_ac'
          - added assertion
      pg_SQLdb:
      - table config:
          - added fields 'scale_factor_BOARef' and 'scale_factor_errors_ac'
          - changed value of 'conversion_type_optical' to 'BOA_Ref'
      - updated __version__
      6fa974e0
  27. 11 Jan, 2017 1 commit
    • Daniel Scheffler's avatar
      second (not completely working) version of wrapper for atmospheric correction · d06523f9
      Daniel Scheffler authored
      algorithms.GEOPROCESSING:
      - revised imports
      algorithms.gms_object:
      - gms_object:
          - revised imports
          - added property 'dem': gms_object can now directly provide a corresponding SRTM DEM
          - arr: bandnames of property 'arr' are now in the form [B01, .., B8A,] and correspond to LayerBandsAssignment
          - added property 'ac_options': getter or options dictionary needed for atmospheric correction
          - from_disk(): added time zone to 'acquisition_date' datetime object
      - added class failed_GMS_object (based on earlier version from helper functions)
      algorithms.L1A_P.L1A_object:
      - revised imports
      - calc_TOARadRefTemp(): bugfix for wrong nodata value in out returned array in case of Sentinel-2
      - update_spec_vals_according_to_dtype: bugfix for not updating L1A_object.arr.nodata
      algorithms.L1B_P:
      - revised imports
      algorithms.L1C_P:
      - L1C_object:
          - get_lonlat_coord_array(): changed handling of return values
          - calc_acquisition_illumination_geometry(): changed handling of return values
      - AtmCorr:
          -  added attribute 'ac_input' containing input args/kwargs of atmospheric correction
          - data: now uses L1C_obj.arr.bandnames for lopping over bands
          - added property 'nodata'
          - added property 'tile_name'
          - added property 'band_spatial_sampling'
          - added property 'nodata'
          - added property 'nodata'
          - revised property 'metadata'
          - added _meta_get_spatial_samplings()
          - added _meta_get_solar_irradiance()
          - added _meta_get_viewing_zenith()
          - added _meta_get_viewing_azimuth()
          - added _meta_get_relative_viewing_azimuth()
          - revised run_atmospheric_correction()
          - revised join_results_to_inObjs()
      algorithms.METADATA
      - revised imports
      - added 'ScaleFactor' to meta_odict
      io.Input_reader:
      - fixed some bad type hints
      - SRF_reader(): moved path generator functionality to path_generator
      - added open_specific_file_within_archive() (moved)
      - added get_dem_by_extent(): new function for reading SRTM DEM data and warping to a given pixel grid
      io.Output_writer:
      - revised imports
      - fixed some bad type hints
      - added 'ScaleFactor' to enviHdr_keyOrder
      misc.__init__:
      - added __all__
      misc.database_tools:
      - fixed some bad type hints
      - get_overlapping_scenes_from_postgreSQLdb(): bugfix for wrong indexing
      misc.definition_dicts:
      - new module, consisting of earlier functions from helper_functions
      misc.exception_handler:
      - new module, consisting of earlier functions from helper_functions
      misc.helper_functions:
      - moved trace_unhandled_exceptions(), log_uncaught_exceptions() to misc.exception_handler
      - moved failed_GMS_object to gms_object
      - moved get_job_summary to process_controller
      - fixed some bad type hints
      - moved get_GMS_sensorcode(), get_mask_classdefinition(), get_outFillZeroSaturated(), get_mask_colormap() to misc.definition_dicts
      - moved open_specific_file_within_archive() to Input_reader
      misc.path_generator:
      - path_generator:
          - revised get_path_rawdata()
          - revised get_local_archive_path_baseN(): 'image_type' is not used anymore; removed deprecated warning
          - get_path_cloud_class_obj(): added cloud classificator files for Sentinel-2
          - added get_path_srf_file()
          - added get_path_snr_model()
          - added get_path_ac_options()
          - added get_path_ac_table()
      processing.multiproc:
      - revised MAP(): added new keyword 'flatten_ouput'
      processing.pipeline:
      - updated imports
      - revised L1C_map(): input represents one OR multiple L1B_objects belonging to the same scene_ID (atmospheric correction has to be applied to ALL subsystems of a scene at once)
      processing.process_controller:
      - changed some map calls due to new keyword  'flatten_ouput' of processing.multiproc.MAP
      - revised L1C_processing(): added grouping of L1B_objects by scene_ID
      - revised create_job_summary(): bugfix for emtpy input list of get_job_summary()
      - added get_job_summary(): moved from helper_functions
      config.Job:
      - added new attributes 'path_ac_options', 'path_ac_tables', 'path_SNR_models', 'path_dem_proc_srtm_90m', 'path_ECMWF_db'
      pgSGL_db table 'config':
      - added keys 'path_SNR_models', 'path_ac_options', 'path_dem_proc_srtm_90m', 'path_ECMWF_db',  'path_ac_tables'
      Fileserver:
      - added input datasets for atmospheric correction
      - updated __version__
      d06523f9