NavigationUser login |
blogsUpdates to SoilWebSubmitted by dylan on Mon, 2010-01-18 04:19.
Added color support to the mini-profiles used in graphical map unit summaries, the Google Earth interface, and iPhone application. SSURGO doesn't contain soil color data, so colors (in Munsell notation) were extracted from the OSD database, and converted into RGB triplets. Using horizon information from the OSD database also results in much more realistic horizonation, as compared to what is stored in older SSURGO databases. Example of the Yolo series soil, from the Yolo County (1972) soil survey:
Interesting use of levelplot() for time series dataSubmitted by dylan on Sat, 2010-01-16 18:58.
Several recent articles appeared on the R-bloggers feed aggregator that demonstrated an interesting visualization of time series data using color. This style of visualization was readily adapted for the time series data I regularly collect (soil moisture and temperature), and quickly implemented with the levelplot() function from the lattice package. I hadn't previously considered using a mixture of factor (categorical) and continuous variables within a call to levelplot(), however the resulting figure was more useful than expected (see above). A single day's observation is represented by a colored strip (redder hues are higher temperature values, and lower soil moisture values), placed along the x-axis according to the date of that observation, and in a row defined by the location where that observation was collected from. Paneling of the data can be used to represent a more complex hierarchy, such as sensor depth or landscape position. At the expense of quantitative data retrieval (which is better supported be scatter plots), qualitative patterns are quickly identified within the new graphic. SoilWeb iPhone App: Beta-Testers?Submitted by dylan on Sun, 2010-01-10 18:26.
( categories: )
Estimated Net Worth of SoilWeb- Our Online Soil SurveySubmitted by dylan on Mon, 2009-12-28 21:08.
According to the excellent source code evaluation tool, SLOCCount, our online soil survey (SoilWeb) code is worth about $268,543 and would require about 2 years of development time to re-create from scratch with a single developer working full-time. This is a fairly close estimate, as I have been working (part-time) on this code-base for 3 years now with most of the time spent in the first 2 years. For comparison, the current development version of GRASS 6 is based on about 230 person-years of development time and is worth about 31 million dollars. Neat! Total Physical Source Lines of Code (SLOC) = 8,910 Development Effort Estimate, Person-Years (Person-Months) = 1.99 (23.86) (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05)) Schedule Estimate, Years (Months) = 0.70 (8.34) (Basic COCOMO model, Months = 2.5 * (person-months**0.38)) Estimated Average Number of Developers (Effort/Schedule) = 2.86 Total Estimated Cost to Develop = $ 268,543 (average salary = $56,286/year, overhead = 2.40). SLOCCount, Copyright (C) 2001-2004 David A. Wheeler ( categories: )
R - spgrass6 installSubmitted by aleswa on Wed, 2009-12-23 22:55.
Notes on install spgrass6 -- ubuntu 9.10 errors related to package XML Cannot find xml2-config you need libxml2 and libxml2-dev too. ( categories: )
Un-Wrapping a Sphere with RSubmitted by dylan on Tue, 2009-12-08 19:48.
( categories: )
New R-Forge Site for Quantitative PedologySubmitted by dylan on Mon, 2009-11-09 01:31.
Just back from the annual meetings, and it looks like there is a significant interest in collaborative R coding of soils-related algorithms and visualization. A new R-forge site has been created to host Algorithms for Quantitative Pedology. Public release of the 'soil' package should be ready in a couple weeks. Aggregating SSURGO Data in RSubmitted by dylan on Thu, 2009-09-10 15:36.
If you happen to have some of the SSURGO tabular data that includes column names, the following R code may be of general interest for resolving the 1:many:many hierarchy of relationships required to make a thematic map.
mukey clay silt sand water_storage
458581 20.93750 20.832237 20.861842 14.460000
458584 43.11513 30.184868 26.700000 23.490000
458593 50.00000 27.900000 22.100000 22.800000
458595 34.04605 14.867763 11.776974 18.900000
( categories: )
Potential Loss of Arable Land in the Central San Joaquin Valley, CASubmitted by dylan on Mon, 2009-08-17 15:19.
Rapid urban and sub-urban expansion in the San Joaquin Valley have resulted in the loss of millions of acres of prime farmland in the last 100 years. Approximately 11% of class 1 (irrigated) land and 7% of class 2 land have already been paved over in the Fresno-Madera region (first image below). Recent projections in the expansion of urban areas in this region suggests that by 2085 an additional 28% of class 1 and 25% of class 2 land will be paved over (second image below). This is a preliminary summary-- details to follow.
( categories: )
Computing Statistics from Poorly Formatted Data (plyr and reshape packages for R)Submitted by dylan on Thu, 2009-07-09 15:26.
|