{
  "id": 606563,
  "title": "AIRS spectrum is reversed compared to the ground truth?",
  "url": "/competitions/ariel-data-challenge-2025/discussion/606563",
  "author_name": "Thomas Dueholm Hansen",
  "post_date": "2025-09-08T21:00:01.619000",
  "votes": 2,
  "comment_count": 3,
  "views": 0,
  "content": "<p>There seems to be a problem with the data, where the order of the spectrum for AIRS and the ground truth are reversed compared to each other. Is this a bug, or is it intentional, and if it is intentional, where is it explained?</p>\n<p>I made a minimal example showing the issue in <a href=\"https://www.kaggle.com/code/thomasdueholmhansen/airs-spectrum-indices-should-be-flipped\" target=\"_blank\">this small notebook</a>. The notebook makes a very simplistic calibration for planet 43278385 and then estimates the spectrum with a ratio of values inside and outside the transit window. I also plot the ground truth and the reversed ground truth, and it is clear that the reversed ground truth is a better match. I centered the graphs to make the match clearer.</p>\n<p>Here is the figure from the notebook:</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11013868%2Faa9c4b9cb5a3eb0e85b951de5549ffc7%2Fbug.png?generation=1757365106586635&amp;alt=media\" alt=\"\"></p>",
  "messages": [
    {
      "id": 3286357,
      "postDate": "2025-09-09T16:33:24.213Z",
      "content": "<p>This is the wavelength vs wavenumber issue. Infrared spectra typically use wavenumber because it's proportional to energy (E=hcν̃), making molecular transitions evenly spaced - more intuitive for analysis. They're inverse: wavenumber=10000/wavelength.<br>\nWhen wavelength increases, wavenumber decreases, so the spectrum looks flipped. Just reverse one and they'll match.</p>",
      "rawMarkdown": "This is the wavelength vs wavenumber issue. Infrared spectra typically use wavenumber because it's proportional to energy (E=hcν̃), making molecular transitions evenly spaced - more intuitive for analysis. They're inverse: wavenumber=10000/wavelength.\nWhen wavelength increases, wavenumber decreases, so the spectrum looks flipped. Just reverse one and they'll match.",
      "votes": 1
    },
    {
      "id": 3285899,
      "postDate": "2025-09-08T21:27:08.623Z",
      "content": "<p>Yes this is intentional. You can find in the file axis_info.paquet the wavelengths corresponding to axis 2 of the channel AIRS-CH0 and you will see they are reversed compared to the ground truth wavelengths in wavelengths.csv.</p>",
      "rawMarkdown": "Yes this is intentional. You can find in the file axis_info.paquet the wavelengths corresponding to axis 2 of the channel AIRS-CH0 and you will see they are reversed compared to the ground truth wavelengths in wavelengths.csv.",
      "votes": 2,
      "replies": [
        {
          "id": 3285902,
          "postDate": "2025-09-08T21:38:07.620Z",
          "content": "<p>I see. Thanks!</p>",
          "rawMarkdown": "I see. Thanks!"
        }
      ]
    },
    {
      "id": 3285891,
      "postDate": "2025-09-08T21:00:01.620Z",
      "content": "<p>There seems to be a problem with the data, where the order of the spectrum for AIRS and the ground truth are reversed compared to each other. Is this a bug, or is it intentional, and if it is intentional, where is it explained?</p>\n<p>I made a minimal example showing the issue in <a href=\"https://www.kaggle.com/code/thomasdueholmhansen/airs-spectrum-indices-should-be-flipped\" target=\"_blank\">this small notebook</a>. The notebook makes a very simplistic calibration for planet 43278385 and then estimates the spectrum with a ratio of values inside and outside the transit window. I also plot the ground truth and the reversed ground truth, and it is clear that the reversed ground truth is a better match. I centered the graphs to make the match clearer.</p>\n<p>Here is the figure from the notebook:</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11013868%2Faa9c4b9cb5a3eb0e85b951de5549ffc7%2Fbug.png?generation=1757365106586635&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "There seems to be a problem with the data, where the order of the spectrum for AIRS and the ground truth are reversed compared to each other. Is this a bug, or is it intentional, and if it is intentional, where is it explained?\n\nI made a minimal example showing the issue in [this small notebook](https://www.kaggle.com/code/thomasdueholmhansen/airs-spectrum-indices-should-be-flipped). The notebook makes a very simplistic calibration for planet 43278385 and then estimates the spectrum with a ratio of values inside and outside the transit window. I also plot the ground truth and the reversed ground truth, and it is clear that the reversed ground truth is a better match. I centered the graphs to make the match clearer.\n\nHere is the figure from the notebook:\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11013868%2Faa9c4b9cb5a3eb0e85b951de5549ffc7%2Fbug.png?generation=1757365106586635&alt=media)",
      "votes": 2
    }
  ],
  "comments": [
    {
      "id": 3286357,
      "author_name": "zihan",
      "author_url": "",
      "post_date": "2025-09-09T16:33:24.213000",
      "content": "<p>This is the wavelength vs wavenumber issue. Infrared spectra typically use wavenumber because it's proportional to energy (E=hcν̃), making molecular transitions evenly spaced - more intuitive for analysis. They're inverse: wavenumber=10000/wavelength.<br>\nWhen wavelength increases, wavenumber decreases, so the spectrum looks flipped. Just reverse one and they'll match.</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 3285899,
      "author_name": "Maxence Gérard",
      "author_url": "",
      "post_date": "2025-09-08T21:27:08.623000",
      "content": "<p>Yes this is intentional. You can find in the file axis_info.paquet the wavelengths corresponding to axis 2 of the channel AIRS-CH0 and you will see they are reversed compared to the ground truth wavelengths in wavelengths.csv.</p>",
      "votes": 2,
      "replies": [
        {
          "id": 3285902,
          "author_name": "Thomas Dueholm Hansen",
          "author_url": "",
          "post_date": "2025-09-08T21:38:07.620000",
          "content": "<p>I see. Thanks!</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3286357": "This is the wavelength vs wavenumber issue. Infrared spectra typically use wavenumber because it's proportional to energy (E=hcν̃), making molecular transitions evenly spaced - more intuitive for analysis. They're inverse: wavenumber=10000/wavelength.\nWhen wavelength increases, wavenumber decreases, so the spectrum looks flipped. Just reverse one and they'll match.",
    "3285899": "Yes this is intentional. You can find in the file axis_info.paquet the wavelengths corresponding to axis 2 of the channel AIRS-CH0 and you will see they are reversed compared to the ground truth wavelengths in wavelengths.csv.",
    "3285891": "There seems to be a problem with the data, where the order of the spectrum for AIRS and the ground truth are reversed compared to each other. Is this a bug, or is it intentional, and if it is intentional, where is it explained?\n\nI made a minimal example showing the issue in [this small notebook](https://www.kaggle.com/code/thomasdueholmhansen/airs-spectrum-indices-should-be-flipped). The notebook makes a very simplistic calibration for planet 43278385 and then estimates the spectrum with a ratio of values inside and outside the transit window. I also plot the ground truth and the reversed ground truth, and it is clear that the reversed ground truth is a better match. I centered the graphs to make the match clearer.\n\nHere is the figure from the notebook:\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11013868%2Faa9c4b9cb5a3eb0e85b951de5549ffc7%2Fbug.png?generation=1757365106586635&alt=media)"
  }
}