I'm fairly new at this (i.e., one intro programming course in C, 4 years ago and I've been re-learning for the past week), so bear with me. I have a LARGE data collection project where I need to grab 30 years worth, in hourly increments of only certain variables (i.e., day/hour, temperature, pressure, wind speed and several latitude/longitude coordinates), from a climate data website, make calculations, and output to another file as raw data for analysis using a completely different program.
I know that getting the data would require ‘wget’ and changing certain components of the URL (which I understand is called 'parsing a URL'?) many, many, many, many, many… times! After browsing a few tutorials I'm still at a loss as to how to do this. I know what loops are and that they somehow apply, but I’m not exactly sure how they would work here.
Here's one of those URLs to give you an idea...
"http://nomads.ncdc.noaa.gov/dods/NCEP_NARR_DAILY/200901/20090101/narr-a_221_20090101_0000_000.ascii?tmpprs[0][3][94][327]"
I'd need to adjust... "200901" and "20090101", "tmpprs" and each of these four components, "[0][3][94][327]" to represent different values.
Again I'm fairly new at this ‘language’ (i.e., speak slowly please...lol!) Any suggestions are greatly appreciated!!!
- Thanks!