Thursday, June 24, 2010

Day 5

9am-5pm

The goal:

Convert all of Regine's DEM grid data and climate plots from IDL to MATLAB.

The plan:
Start by writing a MATLAB program that plots temp and precip and discharge data as a line graph (x-axis: time, y-axis: temp, precip, discharge) from Gulkana glacier. The program must ask for the input data file, in ascii form (or binary?), and then plot the graph and possibly provide the user with max, min, and mean of each element. Hopefully, I will be able to refine the program so that it is user friendly and easy to work with in MATLAB. The end result would be three graphs with the same timescale so that they could be easily compared and easy to work with and show simulated and real data for each element.

Next, is being able to visually represent the elevation, aspect, and slope of the topography from DEM data of Gulkana like her IDL program does. Regine gave me a simple input DEM data to grid program to work off of. The goal for this would be to refine it again to be as user friendly as possible and to display two maps of different times and be able to find the difference. The input files must be in binary form, however, I could easily write a program that transfers files from bin to ascii and ascii to bin, though she already has a C program for this.

Questions:
Still not really sure how C fits into all of this?
How is the simulated data actually created? Have only glipsed at the real model.
Need to get MATLAB and a C++ compiler on my computer (ask Dad)
Need discharge data from Gulkana
Need aspect, slope, and elevation data from Gulkana still?

Worked on today:
Put all the excel temp/precip data in the right form and exported it as an ascii file.

Next step:
Import that data into MATLAB and creating a plot. Then create a program that does all of this for me.

No comments:

Post a Comment