1. 05 Apr, 2017 1 commit
  2. 31 Mar, 2017 1 commit
  3. 30 Mar, 2017 3 commits
    • Daniel Scheffler's avatar
      fixed improper updating of job statistics in case a processing level has been skipped. · 80041303
      Daniel Scheffler authored
      misc.process_controller-process_controller:
      - run_all_processors(): added job statistics updater after checking local availability
      - added update_DB_job_statistics()
      - updated __version__
      Former-commit-id: 7f7383ab
      Former-commit-id: 98f28bc3
      80041303
    • Daniel Scheffler's avatar
      fixed another issue related to an AOI crossing the dateline · 9785a4b0
      Daniel Scheffler authored
      misc.database_tools:
      - get_pgSQL_geospatial_query_cond(): implemented new keyword 'crossing_dateline_check'
      - updated __version__
      Former-commit-id: 45f4b9af
      Former-commit-id: e859d44d
      9785a4b0
    • 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
  4. 29 Mar, 2017 1 commit
    • Daniel Scheffler's avatar
      job status is now reset to 'pending'. · c0f057b4
      Daniel Scheffler authored
       misc.database_tools:
       - get_postgreSQL_value(): now replaces all " ' " with "" due to compatibility issues to postgreSQL syntax
       - update_records_in_postgreSQLdb(): now uses execute_pgSQL_query for better error reporting
       - GMS_JOB.reset_job_progress(): now resets status to 'pending'
       config.Job:
       - status is now set to 'pending'
      - updated __version__
      Former-commit-id: c5525fec
      Former-commit-id: 2cbb0083
      c0f057b4
  5. 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
  6. 27 Mar, 2017 3 commits
    • Daniel Scheffler's avatar
      Bugfix for an exception during L2B_P in case of Landsat-4 and -5 data · cc39f7e8
      Daniel Scheffler authored
      - updated __version__
      Former-commit-id: 2edcbc23
      Former-commit-id: 8d45362d
      cc39f7e8
    • 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
    • Daniel Scheffler's avatar
      AC is now skipped if an exception is raised there. Implemented job status... · 4146c388
      Daniel Scheffler authored
      AC is now skipped if an exception is raised there. Implemented job status updates into process controller.
      algorithms.L1C.AtmCorr:
      - run_atmospheric_correction(): AC is now skipped if an exception is raised there. NOTE: the output will be TOA reflectance instead of BOA reflectance in that case
      processing.process_controller:
      - run_all_processors():
           - added error handling for unexpected exceptions within process controller
           - added job.status updates that are also written into database in order to allow status visualization during a running job
      - stop(): added job.status updater
      - update_DB_job_record(): now 'status' column of jobs database table is also updated
      config.Job:
      - added attribute 'status'
      - updated __version__
      Former-commit-id: f71f4d01
      Former-commit-id: abe9963b
      4146c388
  7. 20 Mar, 2017 1 commit
    • Daniel Scheffler's avatar
      added support for new-style Sentinel-2 data provided as single granules · f5205e93
      Daniel Scheffler authored
       algorithms.L1A_PL1A_object:
       - archive_to_rasObj(): revised matching expression to match S2A files within archive
       algorithms.METADATA.METADATA:
       - Read_Sentinel2A_xmls(): revised matching expressions to find correct xml data
       io.Input_reader:
       - open_specific_file_within_archive(): added assertions, docstring and revised function style
      - updated __version__
      Former-commit-id: 0497218d
      Former-commit-id: 7cdf1a80
      f5205e93
  8. 18 Mar, 2017 2 commits
  9. 23 Feb, 2017 1 commit
    • Daniel Scheffler's avatar
      Bugfix for issues writing MGRS tiles in case of scenes that have an overlap to... · ba54ca0f
      Daniel Scheffler authored
      Bugfix for issues writing MGRS tiles in case of scenes that have an overlap to neighbour UTM zone; added feature for job creation from scene IDs
      algorithms.gms_object:
      - get_subset_obj(): implemented keyword out_prj
      - to_MGRS_tiles(): fix for not respecting output projection
      misc.database_tools.GMS_JOB:
      - from_dictlist(): moved parts to _get_validated_sceneInfoGDFs() and _populate_jobAttrs_from_sceneInfoGDF()
      - added from_sceneIDlist()
      - added _get_validated_sceneInfoGDFs()
      - added _populate_jobAttrs_from_sceneInfoGDF()
      misc.path_generator.path_generator:
      - added get_pathes_all_procdata(): not fully implemented yet
      processing.multiproc:
      - MAP: bugfix for ignoring CFG.job.CPUs in case CPUs is given
      - updated __version__
      Former-commit-id: 9b5925c8
      Former-commit-id: 12c9f4fe
      ba54ca0f
  10. 15 Feb, 2017 1 commit
    • Daniel Scheffler's avatar
      Bugfix within AC · 770aa9f0
      Daniel Scheffler authored
      algorithms.L1C_P.AtmCorr:
      - options: bugfix for not excluding specific bands from AC output
      - _join_results_to_inObjs():
          - bugfix for stacking data_ac bands in the wrong order
          - NaN values withon data_ac are now set to outFill value
      - updated __version__
      Former-commit-id: 577c72b9
      Former-commit-id: 1460d9b2
      770aa9f0
  11. 09 Feb, 2017 2 commits
  12. 08 Feb, 2017 1 commit
    • Daniel Scheffler's avatar
      Added support for atmospheric correction of Landsat-7 and Landsat-8. · 5f91570c
      Daniel Scheffler authored
      algorithms.gms_object.GMS_object:
      - arr.setter: catched an error during setting of arr.bandnames
      - revised ac_options
      algorithms.L1C_P:
      - L1C_object:
          - revised logger.deleter
          - added property 'options'
          - added _get_mask_clouds()
          - revised run_atmospheric_correction()
          - revised _join_results_to_inObjs()
      database:
      - removed folder ac_options -> AC options are now directly imported fom S2SCAPEM (thus version controlled)
      misc.path_generator:
      - revised get_path_ac_options() -> AC options are now directly imported fom S2SCAPEM (thus version controlled)
      - updated __version__
      Former-commit-id: a75ee7c3
      Former-commit-id: 0657813b
      5f91570c
  13. 27 Jan, 2017 1 commit
  14. 26 Jan, 2017 2 commits
    • Daniel Scheffler's avatar
      revised calculation of acquisition geometry arrays for Landsat · 8c7a5323
      Daniel Scheffler authored
      algorithms.GEOPROCESSING:
      - calc_VAA_using_fullSceneCornerLonLat():
          - implemented keyword 'orbit_params' as fallback; added docstring
          -added 90 degrees to VAA
      - calc_VZA_array(): added some notes
      - calc_RAA_array(): added docstring
      algorithms.L1A_P.L1A_object():
      - calc_mean_VAA(): updated calc_VAA_using_fullSceneCornerLonLat call
      algorithms.L1C_P.L1C_object():
      - VZA_arr.getter: added parameter 'meshwidth'
      - revised VAA_arr.getter
      algorithms.METADATA:
      - get_orbit_params(): added some notes
      - updated __version__
      Former-commit-id: b8a055bf
      Former-commit-id: d08a8a57
      8c7a5323
    • Daniel Scheffler's avatar
      Fixed unexpected value in cloud mask of Sentinel-2 · c8d34ab1
      Daniel Scheffler authored and Mathias Peters's avatar Mathias Peters committed
      algorithms.L1C_P.AtmCorr:
      - _join_results_to_inObjs(): fixed unexpected value in cloud mask of Sentinel-2
      - updated __version__
      Former-commit-id: 89a43619
      Former-commit-id: 93bc4d81
      c8d34ab1
  15. 25 Jan, 2017 6 commits
    • Daniel Scheffler's avatar
      Bugfix for logging errors during creation of MGRS tiles · 096d38a1
      Daniel Scheffler authored and Mathias Peters's avatar Mathias Peters committed
      algorithms.gms_object.GMS_object:
      - to_MGRS_tiles(): loggers are now properly closed
      - to_ENVI(): added logger close command
      processing.process_controller:
      - L1C_processing(): increased CPUs for L1C_map to 15
      - updated __version__
      Former-commit-id: 70c42a32
      Former-commit-id: 0260f23e
      096d38a1
    • Daniel Scheffler's avatar
      Bugfix for exception when merging multiple sensor subsystems · 0fdfaaed
      Daniel Scheffler authored and Mathias Peters's avatar Mathias Peters committed
      algorithms.GEOPROCESSING:
      - added get_common_extent()
      algorithms.L1B_P,L1B_object:
      - implemented clipextent and clipextent_prj keywords
      processing.pipeline.L2A_map:
      - updated correct_spatial_shifts call
      - updated __version__
      Former-commit-id: 3aec298d
      Former-commit-id: c860ecc3
      0fdfaaed
    • Daniel Scheffler's avatar
      Fixed logging errors in multiprocessing · ce2e9a10
      Daniel Scheffler authored and Mathias Peters's avatar Mathias Peters committed
      algorithms.gms_object.GMS_object:
      - from_sensor_subsystems(): loggers of input objects are now properly closed
      processing.pipeline:
      - L2A_map(): now returns a list because generators cannot be pickled
      processing.process_controller:
      - L1C_processing(): set CPUs to 10 for testing
      - updated __version__
      Former-commit-id: 9a399df5
      Former-commit-id: 5a80e7b3
      ce2e9a10
    • Daniel Scheffler's avatar
      Silenced DEM generator · 4673ef7f
      Daniel Scheffler authored
      io.Input_reader:
      - get_dem_by_extent(): silenced stdout output
      - updated __version__
      Former-commit-id: cb07972c
      Former-commit-id: 785e70df
      4673ef7f
    • Daniel Scheffler's avatar
      Fixed missing data in DEM · 0e6f5dbf
      Daniel Scheffler authored
      misc.database_tools:
      - get_pgSQL_geospatial_query_cond(): changed default queryfunc
      - get_overlapping_MGRS_tiles(): replaced geo conditions by ST_Intersects
      - updated __version__
      Former-commit-id: d06817da
      Former-commit-id: e0107c5c
      0e6f5dbf
    • Daniel Scheffler's avatar
      Fixed pickling issues after failed AC. · 2636cfcb
      Daniel Scheffler authored and Mathias Peters's avatar Mathias Peters committed
      algorithms.L1C_P.AtmCorr:
      - run_atmospheric_correction(): AC input arrays are now deleted before object is passed to exception handler
      processing.pipeline:
      - L1C_map(): disabled auto-dumping of AC inputs in case of error
      processing-process_controller:
      - L1C_processing(): set CPUs to 5 for testing
      - updated __version__
      Former-commit-id: 2a997e23
      Former-commit-id: 064a13b1
      2636cfcb
  16. 24 Jan, 2017 10 commits
  17. 23 Jan, 2017 1 commit
  18. 21 Jan, 2017 2 commits
    • Daniel Scheffler's avatar
      added some resources for atmospheric correction · f48afc34
      Daniel Scheffler authored
      - added ac_options for Sentinel-2
      - added cloud classier for Sentinel-2
      - added SNR model for Sentinel-2
      config:
      - reactivated exception handler
      - updated __version__
      Former-commit-id: dc2977bc
      Former-commit-id: 986c4d1d
      f48afc34
    • 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