Rank: 588 based on 142 downloads (last 30 days) and 9 files submitted
photo

Andrew Stevens

E-mail
Company/University
US Geological Survey
Lat/Long
37.4556999206543, -122.1700973510742

Personal Profile:

Professional Interests:
oceanography, sediment transport, benthic habitat mapping

 

Watch this Author's files

 

Files Posted by Andrew View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
21 Jan 2010 SP_PROJ Convert to and from US state plane coordinates Author: Andrew Stevens gis, coordinate transforma..., earth science 12 0
18 Aug 2009 Screenshot CURVVEC draw curved vectors from 2D vector data Author: Andrew Stevens vector field, stream lines, specialized plotting, quiver, 2d 24 1
  • 5.0
5.0 | 1 rating
01 Apr 2009 Screenshot BIN2MAT Create a matrix from scattered data without interpolation Author: Andrew Stevens accumarray, reshape, gridding, vector 11 0
31 Mar 2009 ARCGRIDWRITE Write gridded data set in Arc ASCII Grid Format Author: Andrew Stevens arc, data import, grid, data export, esri, raster 20 2
  • 4.5
4.5 | 2 ratings
04 Mar 2009 Screenshot GESCATTER Create a scatter plot in Google Earth (.kml) Author: Andrew Stevens kml, data export, google earth, scatter 13 1
  • 5.0
5.0 | 2 ratings
Comments and Ratings by Andrew View all
Updated File Comments Rating
09 Mar 2010 Matlab script to read and plot NCEP/NCAR 4x Daily Reanalysis data Matlab script to read and plot NCEP/NCAR 4x Daily Reanalysis data Author: Paula Moreira

Why not use OPeNDAP which has a tool to read NCEP Re-Analysis data (as well as many other datasets) directly into matlab?

http://opendap.org/download/ml-structs.html

27 Jan 2010 ascii2xyz convert ARC ASCII text file to xyz Author: Andrew Stevens

Fran,

This file is intended to read in an ASCII file produced by ARC GIS containing raster data. A properly formatted ARC ASCII file has header information which your file does not apparently have. Type 'help ascii2xyz' to see the required header format.

Andrew

10 Sep 2009 xyzplotter Transforms lists xin,yin,zin into matrices which can be used with the functions surf and mesh. Author: Jack Kohoutek

This code worked fine for the example that I tried. Here are a couple comments and questions that I think, if addressed, will improve the code and clarify its function.

1)The help section is in a non-standard format and an H1 line would be useful.
2) What does the code do with repeat x and y values?
3) What is the cell-size of the resulting grid? Answers to 2 and 3 should be added to the help section.
4) Efficiency: This code uses a triple loop to fill the grid. For large datasets, this will be extremely slow. An alternative approach is to use a combination of HISTC and ACCUMARRAY to populate the grid that will be fast.

-Andrew

31 Mar 2009 ARCGRIDWRITE Write gridded data set in Arc ASCII Grid Format Author: Andrew Stevens

Colin,

Thanks for your comments. I found after playing with a couple examples, I determined that if I simply change the output filename from .txt to .asc that the file can be read directly into arc without doing the raster conversion.

I would also be careful with your modification of the way the header is written in the output file. Your modification forces the cell-size to be an integer which would produce a large error in many of my datasets.

Andrew

Comments and Ratings on Andrew's Files View all
Updated File Comment by Comments Rating
15 Mar 2010 GESCATTER Create a scatter plot in Google Earth (.kml) Author: Andrew Stevens Andre Guy Tranquille

it's grate!!!

27 Jan 2010 ascii2xyz convert ARC ASCII text file to xyz Author: Andrew Stevens Stevens, Andrew

Fran,

This file is intended to read in an ASCII file produced by ARC GIS containing raster data. A properly formatted ARC ASCII file has header information which your file does not apparently have. Type 'help ascii2xyz' to see the required header format.

Andrew

26 Jan 2010 ascii2xyz convert ARC ASCII text file to xyz Author: Andrew Stevens anwar, fran

sir....
I has an ascii file (.asc) but when l try to get the x,y and z, there is some error. it say " 'Error reading header information"..why sir?

05 Jan 2010 GESCATTER Create a scatter plot in Google Earth (.kml) Author: Andrew Stevens Tuhtan, Jeff

09 Sep 2009 ARCGRIDWRITE Write gridded data set in Arc ASCII Grid Format Author: Andrew Stevens Daniya

Top Tags Applied by Andrew
data export, data import, gui tools, raster, vector
Files Tagged by Andrew View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
21 Jan 2010 SP_PROJ Convert to and from US state plane coordinates Author: Andrew Stevens gis, coordinate transforma..., earth science 12 0
18 Aug 2009 Screenshot CURVVEC draw curved vectors from 2D vector data Author: Andrew Stevens vector field, stream lines, specialized plotting, quiver, 2d 24 1
  • 5.0
5.0 | 1 rating
01 Apr 2009 Screenshot BIN2MAT Create a matrix from scattered data without interpolation Author: Andrew Stevens accumarray, reshape, gridding, vector 11 0
31 Mar 2009 ARCGRIDWRITE Write gridded data set in Arc ASCII Grid Format Author: Andrew Stevens arc, data import, grid, data export, esri, raster 20 2
  • 4.5
4.5 | 2 ratings
04 Mar 2009 Screenshot GESCATTER Create a scatter plot in Google Earth (.kml) Author: Andrew Stevens kml, data export, google earth, scatter 13 1
  • 5.0
5.0 | 2 ratings

Contact us at files@mathworks.com