lionelmessi

listrasters wildcard multiple characters

Discussion created by lionelmessi on Aug 23, 2011
Latest reply on Aug 25, 2011 by lionelmessi
Dear all,
I am trying to list a group of rasters in a file geodatabase. The rasters are named ending with numbers from 1-12 (eg. precip_1, precip_2, ...). I want to have a list of those rasters that end with the numbers 4-9.
How can I achieve this? I thought of using the wildcard in the listrasters statement but I can't figure out how to search for multiple characters.
here's the statement:

Rasters = gp.ListRasters(?)

Any advice is very much appreciated.
Thanks,
LionelMessi

Outcomes