Skip to main content
Solved

How to select bands in a CSAR raster file ?

  • August 12, 2022
  • 2 replies
  • 31 views

The obvious transformers (Rasterselector, RasterBandRemover, RasterBandKeeper) do not give the desired output. No errors are generated but all bands of the CSAR raster file are still present after processing. The bands seem to be hidden but I can not find a way to make them available for processing.

Best answer by danminneyatsaf

Hi @yasminvb​ you can use a RasterSelector to select which bands you want to modify, and then you can use a RasterBandRemover to remove the bands previously selected.

image 

If you're still have trouble, would you be able to send a copy of your source CSAR raster file? You can share it here or you can upload it to our Safe Software FTP if it's confidential.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

danminneyatsaf
Safer
Forum|alt.badge.img+13
  • Safer
  • Best Answer
  • August 12, 2022

Hi @yasminvb​ you can use a RasterSelector to select which bands you want to modify, and then you can use a RasterBandRemover to remove the bands previously selected.

image 

If you're still have trouble, would you be able to send a copy of your source CSAR raster file? You can share it here or you can upload it to our Safe Software FTP if it's confidential.


  • Author
  • August 16, 2022

Hi @yasminvb​ you can use a RasterSelector to select which bands you want to modify, and then you can use a RasterBandRemover to remove the bands previously selected.

image 

If you're still have trouble, would you be able to send a copy of your source CSAR raster file? You can share it here or you can upload it to our Safe Software FTP if it's confidential.

Thank you! This combination gives the desired output. I do wonder why I can still see 9 bands when I look at the output when I only keep 3 but when the file is written to csar and read again it contains the 3 selected bands. ​