Skip to main content
Question

band re-naming

  • February 25, 2025
  • 3 replies
  • 43 views

jangle99
Participant
Forum|alt.badge.img+1

Hello,

 

I have seen similar threads but i cannot seem to get what i need to work. New to FME and I have a .img file with 1440 bands. Trying to rename the bands to dates as each band is a dataset a month apart. I have an excel spreadsheet with the original band names and the new names i want but after a lot of trying have not been successful. 
 

Please could I have some help with this. 
 

thank you 

3 replies

redgeographics
Celebrity
Forum|alt.badge.img+50

There’s this thread from a few years ago: 

Using the RasterBandNameSetter and a list of names. It sounds quite similar to your situation, let me know if this is what you’re looking for.

 


max_h
Supporter
Forum|alt.badge.img+10
  • Supporter
  • February 25, 2025

What have you tried so far/where is it failing?

The transformer “RasterBandSeparator” should be what you’re looking for. It splits your image in 1440 bands and then you can join those via ‘FeatureMerger’ with your Excel.

 

Edit.: redgeographic’s suggestion is even smoother, forgot about that transformer


jangle99
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • February 25, 2025

Yeah I followed that quite closely but when I ran it it seemed to only pull the top row and in the output box nothing was actually written from it. I tried rasterbandnamesetter but as far as I can tell my issue was the _list wasn’t generating properly from the spread sheet (as I am not sure how it works but I copied what that thread said) and so nothing was output.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings