% use curl if you want to save in a file 
% matlab -nojvm -nosplash < cfsv2.m > log &

clear all
unix('curl http://iridl.ldeo.columbia.edu/expert/SOURCES/.NOAA/.NCEP/.EMC/.CFSv2/.MONTHLY_REALTIME/.PGBF/.pressure_level/.UGRD/P/925/VALUE%5BM%5Daverage/S/%280000%2011%20Apr%202012%29%280000%2016%20Apr%202012%29%280000%2021%20Apr%202012%29%280000%2026%20Apr%202012%29%280000%2001%20May%202012%29%280000%2006%20May%202012%29VALUES/L/S/CopyStream/%280000%2001%20May%202012%29readunits/0/get/flaglt/add/L/%2FLnew/renameGRID%5BL%5Dsample-along/Lnew/%2FL/renameGRID%5BS%5Daverage/L/2.5/4.5/RANGEEDGES%5BL%5Daverage/-999.0/setmissing_value/%5BX/Y%5Ddatatable.tsv.gz > U925_CFSv2stMay_2012JAS.tsv.gz')

unix('curl http://iridl.ldeo.columbia.edu/expert/SOURCES/.NOAA/.NCEP/.EMC/.CFSv2/.MONTHLY_REALTIME/.PGBF/.pressure_level/.UGRD/P/925/VALUE%5BM%5Daverage/S/%280000%2011%20Apr%202011%29%280000%2016%20Apr%202011%29%280000%2021%20Apr%202011%29%280000%2026%20Apr%202011%29%280000%2001%20May%202011%29%280000%2006%20May%202011%29VALUES/L/S/CopyStream/%280000%2001%20May%202011%29readunits/0/get/flaglt/add/L/%2FLnew/renameGRID%5BL%5Dsample-along/Lnew/%2FL/renameGRID%5BS%5Daverage/L/2.5/4.5/RANGEEDGES%5BL%5Daverage/-999.0/setmissing_value/%5BX/Y%5Ddatatable.tsv.gz > U925_CFSv2stMay_2011JAS.tsv.gz')
quit

