Downloading multiple files and running functions more seamlessly
I am using daily satellite data over a one month period, and running some analysis on them. I know how to do this the long way, but at the moment I have 30 lines downloading PAR data individually for a month, 30 lines for kd490, then another 60 lines cropping it by extent for PAR and kd490, another 60 lines doing cellstats to get mean for PAR and kd490. As you can imagine, I have a VERY long code because I am doing this for every single day. Is there a way I can simplify this?