Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:earth_observation:sentinel_2_data_processing_handbook [2024/12/06 10:25] kymkiprojects:earth_observation:sentinel_2_data_processing_handbook [2024/12/06 16:15] (current) kymki
Line 1: Line 1:
-====== The Sentinel 2 Data Processing Handbook ======+<html> 
 +<head> 
 +  <meta charset="UTF-8"> 
 +  <meta name="viewport" content="width=device-width, initial-scale=1.0"> 
 +  <title>Ramble Meter</title> 
 +  <style> 
 +    /* Container for the entire Ramble Meter */ 
 +    .ramble-meter-container { 
 +      display: flex; 
 +      align-items: center; 
 +      justify-content: center; 
 +      margin: 20px 0; 
 +    }
  
-This post is work in progressYou have been warned!+    /* Ramble Meter */ 
 +    .ramble-meter { 
 +      position: relative; 
 +      width: 200px; /* Scaled down */ 
 +      height: 40px; /* Scaled down */ 
 +      background: linear-gradient(to right, green, yellow, orange, red); 
 +      border-radius: 20px; 
 +      overflow: hidden; 
 +      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); 
 +    } 
 + 
 +    /* Needle */ 
 +    .needle { 
 +      position: absolute; 
 +      top: 5px; /* Adjust for centering */ 
 +      left: 50%; /* Default position */ 
 +      width: 4px; /* Visible width */ 
 +      height: 30px; 
 +      background: black; 
 +      border-radius: 2px; 
 +      z-index: 2; 
 +      box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Glow effect */ 
 +    } 
 + 
 +    /* Label in the middle of the meter */ 
 +    .meter-label { 
 +      position: absolute; 
 +      top: 50%; 
 +      left: 50%; 
 +      transform: translate(-50%, -50%); 
 +      font-family: Arial, sans-serif; 
 +      font-size: 12px; /* Adjusted for smaller size */ 
 +      font-weight: bold; 
 +      color: #fff; 
 +      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); 
 +      z-index: 3; 
 +    } 
 + 
 +    /* Tooltip styling */ 
 +    .tooltip { 
 +      visibility: hidden; 
 +      width: 250px; 
 +      background-color: #222; 
 +      color: #fff; 
 +      text-align: center; 
 +      padding: 10px; 
 +      border-radius: 5px; 
 +      position: absolute; 
 +      top: 50%; /* Vertically aligned */ 
 +      left: 110%; /* Position to the right of the meter */ 
 +      transform: translateY(-50%); 
 +      font-size: 12px; 
 +      z-index: 10; 
 +      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); 
 +    } 
 + 
 +    /* Show tooltip on hover */ 
 +    .ramble-meter:hover + .tooltip { 
 +      visibility: visible; 
 +    } 
 + 
 +    /* Wrapper for positioning the tooltip and meter */ 
 +    .ramble-wrapper { 
 +      position: relative; 
 +      display: flex; 
 +      align-items: center; 
 +    } 
 +  </style> 
 +  <script> 
 +    document.addEventListener("DOMContentLoaded", () => { 
 +      const needle = document.querySelector(".needle"); 
 +      const rambleMeter = document.querySelector(".ramble-meter"); 
 +      const level = rambleMeter.getAttribute("data-level"); // Read the level from the attribute (0-100) 
 +      needle.style.left = `${Math.min(Math.max(level, 0), 100)}%`; // Clamp between 0 and 100 
 +    }); 
 +  </script> 
 +</head> 
 +<body> 
 +  <!-- Ramble Meter --> 
 +  <div class="ramble-meter-container"> 
 +    <div class="ramble-wrapper"> 
 +      <div class="ramble-meter" data-level="20"> <!-- Adjust level here (0-100) --> 
 +        <div class="meter-label">Ramble Meter</div> 
 +        <div class="needle"></div> 
 +      </div> 
 +      <div class="tooltip">Warning: This post may still be inconsistent and may contain some underdeveloped chapters.</div> 
 +    </div> 
 +  </div> 
 +</body> 
 +</html> 
 + 
 +====== The Sentinel 2 Data Processing Handbook ======
  
 ===== Introduction ===== ===== Introduction =====
Line 85: Line 188:
 Correcting for these they may be computationally costly and the corrections themselves are imperfect. They may introduce artifacts in the data, for instance, or only partially capable of correcting for the effect they are designed for. The correction for these distortions and how they are addressed are often mentioned in bullet-point fashion in documentation, but without much reference, reasoning or justification. Correcting for these they may be computationally costly and the corrections themselves are imperfect. They may introduce artifacts in the data, for instance, or only partially capable of correcting for the effect they are designed for. The correction for these distortions and how they are addressed are often mentioned in bullet-point fashion in documentation, but without much reference, reasoning or justification.
  
-==== Sentinel 2 Processing Levels ==== +===== S2 Processing Levels ===== 
-=== Level 0 ===+==== Level-====
  
 The Sentinel-2 [[https://sentinels.copernicus.eu/web/sentinel/user-guides/sentinel-2-msi/product-types/level-0|Level 0 product,]] unlike L1C, is not available for public access and is the first processing level performed by the Payload Data Ground Segment (PDGS). Its processing step takes the MSI raw data as input from th Copernicus Ground Segment and .. The Sentinel-2 [[https://sentinels.copernicus.eu/web/sentinel/user-guides/sentinel-2-msi/product-types/level-0|Level 0 product,]] unlike L1C, is not available for public access and is the first processing level performed by the Payload Data Ground Segment (PDGS). Its processing step takes the MSI raw data as input from th Copernicus Ground Segment and ..
Line 99: Line 202:
 This intermediary product contains L-0 and all the meta-data required for subsequent L1 processing. These packets of data are compressed and stored. Like the L0 product L0C is not available to the public. This intermediary product contains L-0 and all the meta-data required for subsequent L1 processing. These packets of data are compressed and stored. Like the L0 product L0C is not available to the public.
  
-=== Level-1 A ===+==== Level-1 A ====
  
 This processing step refers to the decompression of the L0C product and applies no processing beyond that. This processing step refers to the decompression of the L0C product and applies no processing beyond that.
  
-=== Level-1 B ===+==== Level-1 B ====
  
    1.  Level-1B radiometric processing, including:    1.  Level-1B radiometric processing, including:
Line 120: Line 223:
    6. Level-1B imagery compression utilises the JPEG2000 algorithm.    6. Level-1B imagery compression utilises the JPEG2000 algorithm.
        
-=== Level 1 ===+==== Level 1 ====
  
 ‌‌Sentinel-2 MSI L1C data undergoes a number of pre-processing steps before it is ready for use. These steps include radiometric and geometric correction, atmospheric correction, and cloud and water masking.‌‌‌‌‌‌‌‌DEM https://sentinel.esa.int/web/sentinel/user-guides/sentinel-2-msi/definitions ‌‌Sentinel-2 MSI L1C data undergoes a number of pre-processing steps before it is ready for use. These steps include radiometric and geometric correction, atmospheric correction, and cloud and water masking.‌‌‌‌‌‌‌‌DEM https://sentinel.esa.int/web/sentinel/user-guides/sentinel-2-msi/definitions
Line 134: Line 237:
 Overall, the pre-processing steps applied to Sentinel-2 MSI L1C data are designed to correct for various factors that can affect the quality of the data and to make the data more consistent and usable for various applications. Overall, the pre-processing steps applied to Sentinel-2 MSI L1C data are designed to correct for various factors that can affect the quality of the data and to make the data more consistent and usable for various applications.
  
-==== Outlook and advice ====+===== Outlook and advice =====
  
 We recommend taking a parsimonious approach to preprocessing; correct the artifacts necessary for a particular application, but avoid unnecessary steps that may introduce additional artifacts without gaining additional value (Song et al. 2001, Riaño et al. 2003, Kennedy et al. 2009). We recommend taking a parsimonious approach to preprocessing; correct the artifacts necessary for a particular application, but avoid unnecessary steps that may introduce additional artifacts without gaining additional value (Song et al. 2001, Riaño et al. 2003, Kennedy et al. 2009).