I have a script that fetches weather api then should output the data into a file, my problem is that in the last loop it outputs the results into a file that has the variable value instead of the name. Is there a way to use the variable name instead?

```
#city
tromso="lat=69.6492&lon=18.9553"
gjovik="lat=60.8941&lon=10.5001"
oslo="lat=59.9139&lon=10.7522"
trondheim="lat=63.4305&lon=10.39.51"
bergen="lat=60.3913&lon=5.3221"
echo "a"

#Creates a directory
#mkdir scraped-weather

#Loops through the cities and puts the name in
for CITY  in tromso gjovik oslo trondheim bergen; do
         echo ${CITY} > ${CITY}.txt
done
echo "b"

#I get the data for each city and puts it in the city file
for CITY in $tromso $gjovik $oslo $trondheim $bergen; do
         curl -s "$API$CITY"  |  grep -A5 -E '[0-9]{2}-[0-9]{2}-[0-9]{2}'  >> ${CITY}.txt 
done

```