Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Satdump file naming convention differs now from what i it was, not compatible with current Sanchez #103

Open
creinemann opened this issue May 15, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@creinemann
Copy link

The developers of satdump drastically changed the file output of imagery relating to geo sats. Thge new naming convention does not 'currently' work with Sanchez. As you can see below, other than the raw png files, the composited outputs all have the same filename, thedifference being the date/time in which they were created. So that a M1 file: abi_rgb_Clean_Longwave_IR_Window_Band_map.jpg is the same as a full disk file abi_rgb_Clean_Longwave_IR_Window_Band_map.jpg. Or, Meso1 band 13 file G18_13_20240515T115155Z.png has the same name as full disk band 13 G18_13_20240515T115155Z.png the differences are in the timestamp of the folders.

So instead of having a file folder with today's date, and all the day/night imagery under it, it creates a file folder by time and date, with just that times output under it. See my example for goes 18. the JSON will need to be updated to handle that, as well as for pulling multiple files:
Screenshot 2024-05-15 071349

@creinemann creinemann added the bug Something isn't working label May 15, 2024
@nullpainter
Copy link
Owner

Thanks Carl. I've got a handful of sample files now so should be able to get this implemented by the weekend.

@nullpainter
Copy link
Owner

For the time-being, this just requires a config change. Edit Resources/Satellites.json and replace the GOES-18 and GK-2A sections with:

  {
    "DisplayName": "GOES-18",
    "FilenamePrefix": "G18_13_",
    "FilenameParser": "Goesproc",
    "Longitude": -137.0,
    "Brightness": 0.95
  }

and:

  {
    "DisplayName": "GEO-KOMPSAT-2A",
    "FilenamePrefix": "GK2A_IR105_",
    "FilenameParser": "Goesproc",
    "Longitude": 128.2,
    "Brightness": 0.97,
    "Crop": [
      0.006363,
      0.006363,
      0.006363,
      0.006363
    ]
  },

GOES-18 just requires the FilenamePrefix to be changed, whereas GK-2A requires both FilenamePrefix and FilenameParser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants