Python code for reading .asc files that are formatted for importing to ArcMAP 9.0. Code calculates custom quantiles based on grids that define a grouping variable. Scroll down to see code at the end of the thread here.