Knowledge Base

How do I read the Greenland DEM in Fortran?

Directions for reading the Bamber Greenland DEM, Ice Thickness, and Bedrock Thickness in Fortran

Relevant data files include:

        Bamber Greenland DEM, Ice Thickness, or Bedrock Elevation

        Latitude and Longitude ASCII text files

1.  Write each array (i.e. lat, lon, dem) as having dimension (561,301).

2.  Read in dem(i,j) with i going from 1 to 561 and j from 1 to 301.

3.  Read in lat(i,j) with i going from 561 to 1 and j from 301 to 1.

        This step reverses both the i and j indices of the latitude array.

4.  Read in lon(i,j) with i going from 561 to 1 and j from 1 to 301.

        This step reverses the i indice of the longitude array.

86,5 Bot