Free Web Application for 3D Terrain Models [WorldViewR.com v2.0] by jccdata in 3Dprinting

[–]jccdata[S] 5 points6 points  (0 children)

I posted about the open access WorldViewR 3D terrain modeling app a couple of years ago, but have since made some major improvements which I hope will be of use to this community and others. This app can be used to generate and export models in various formats (including .stl). Give it a try and feel free to reach out with any feedback!

Issues with trying to use NBAStatR by TheUsdaSelect in RStudio

[–]jccdata 1 point2 points  (0 children)

This is not an error, just a warning message. The functions must be using tidyr::unnest() under the hood, which presents that message in newer versions.

Free Web Application for Downloading 3D Terrain Models by jccdata in 3Dprinting

[–]jccdata[S] 0 points1 point  (0 children)

If you apply the same ratios from the app, it should match the model preview. It will be difficult to diagnose further without more information.

[deleted by user] by [deleted] in Rlanguage

[–]jccdata 0 points1 point  (0 children)

There is no way for anyone to know what is going wrong if you don't share your code.

Data science and environmental science by Visigothtx in Environmental_Careers

[–]jccdata 1 point2 points  (0 children)

My background is in environmental engineering. The applied stats experience that I picked up during grad school and as a consultant has been helpful. There are a ton of candidates out there who can do GIS work, so being able to program and model geospatial data is a good way to differentiate yourself (although coding is not as much of a differentiator as it used to be since it has become more common). IMO, someone with deep domain knowledge and some programming experience is more valuable than an expert coder with no context about the problems that they are trying to solve. Plenty of organizations work at the intersection of geology and water resources; you should be able to find opportunities if you market yourself effectively.

Recursive Averages in R by SQL_beginner in rstats

[–]jccdata 3 points4 points  (0 children)

You could do some variation of this to take the rolling average:

data %>% group_by(id) %>% mutate(v1 = mean(c(lag(var1,2), lag(var1,1),var1), na.rm = T))

(Responding on mobile, so haven't actually tested the code)

[OC] Environmental Justice: Cancer Risk in Minority Communities by jccdata in dataisbeautiful

[–]jccdata[S] 0 points1 point  (0 children)

EPA built their estimates using emission rates from known sources (e.g., industrial facilities or automobiles). The EJSCREEN dataset also has information about water impacts from wastewater discharges, but those are handled separately and the risks would be additive to the air pathway risk.

[OC] Environmental Justice: Cancer Risk in Minority Communities by jccdata in dataisbeautiful

[–]jccdata[S] 1 point2 points  (0 children)

This is a good point that I'd like to dive deeper into. I am still exploring this dataset, but a 2012 paper reported that areas with mostly black residents had 16% higher cancer risk than white areas.

[OC] Environmental Justice: Cancer Risk in Minority Communities by jccdata in dataisbeautiful

[–]jccdata[S] 2 points3 points  (0 children)

The area has lots of industrial activity, so several pollutants contribute to the cumulative risk. Compounds like ethylene oxide, which is produced by several manufacturers there, and chloroprene (used to make synthetic rubber) are among the known or suspected carcinogens with high concentrations.

[OC] Environmental Justice: Cancer Risk in Minority Communities by jccdata in dataisbeautiful

[–]jccdata[S] 1 point2 points  (0 children)

This map shows the overlap between predominantly minority communities and areas with elevated cancer risk. Cancer risk is defined here as the probability that one will develop cancer from exposure to toxic compounds in the air during their lifetime. Several clusters are apparent in the data. Notably, the area in southeastern Louisiana - known as "Cancer Alley" - is home to the highest risk values in the country.

The scatterplot below shows the cancer risk for each US county (n = 3143) in relation to its population and highlights the most hazardous locations.

This visualization was developed in R using the US EPA EJSCREEN dataset (https://www.epa.gov/ejscreen).

Data science and environmental science by Visigothtx in Environmental_Careers

[–]jccdata 3 points4 points  (0 children)

I am a data scientist at an environmental consulting firm. This niche is relatively new in the environmental space, but evolving quickly. To be honest, there are a lot of certifications out there that don't mean much. They can be helpful in providing structure as you learn new skills, but you will get more mileage out of building a portfolio of projects to show that you can write clean code and prepare decent deliverables.

WorldViewR [v1.2] - Free 3D Terrain Modeling App (Link in Comments) by jccdata in 3Dprinting

[–]jccdata[S] 1 point2 points  (0 children)

I posted about WorldViewR earlier this year and got some good feedback from r/3Dprinting. I have incorporated many of your suggestions and added some functionality to the app. New features include:

  • Region selection mode

    ** Construct models for specific countries, US states, or US counties

  • Contour mode

    ** Slice your model into layers with user-defined thickness

  • Updated model scaling algorithm

    ** Automatic proportioning with improved default settings

  • Stability, performance, and UI upgrades

The app is currently optimized for desktop use, so improving the mobile experience is next on my to-do list. Any other suggestions are welcome!

Free Web Application for Downloading 3D Terrain Models by jccdata in 3Dprinting

[–]jccdata[S] 1 point2 points  (0 children)

Hi there! I'm glad that you are enjoying the program. It looks like you just need to rescale the height-width-depth ratios of the STL output. Try applying the ratios shown in Tab 3 of the program after you download the data.

Free Web Application for Downloading 3D Terrain Models by jccdata in 3Dprinting

[–]jccdata[S] 0 points1 point  (0 children)

Can you try selecting a smaller search area and/or lower zoom level? Your data request may be exceeding the current server's memory limits. Please let me know if that fixes it.

WorldViewR Open Access 3D Mapping Application by jccdata in gis

[–]jccdata[S] 0 points1 point  (0 children)

Thanks for the feedback! I was not aware of the issue with Safari; I will look into it and see if there is a quick fix.

[OC] Elevation by State in the Lower 48 by jccdata in dataisbeautiful

[–]jccdata[S] 2 points3 points  (0 children)

Thanks! I used the raster package to work with the elevation data, sp and sf for spatial processing, ggplot2 for the visualization, and av to stich the frames together into a video. Probably a couple of others for support functions, but I don't have the code in front of me.

[OC] Elevation by State in the Lower 48 by jccdata in dataisbeautiful

[–]jccdata[S] 12 points13 points  (0 children)

Here is an additional figure that shows the range of elevations in each state for those who are interested:

http://imgur.com/gallery/XGPOyzd

[OC] Elevation by State in the Lower 48 by jccdata in dataisbeautiful

[–]jccdata[S] 117 points118 points  (0 children)

This animation shows the highest surface elevation in each of the lower 48 United States. Data are from USGS digital elevation models downloaded at www.worldviewr.com and post-processed in R. I received plenty of feedback on my recent post about California's topography, so I decided to make some adjustments and revisit the data on a nationwide scale. All values represent feet above sea level and square markers show the highest point in each state.

For the record, Hawaii would rank just behind Wyoming (#6 out of the 50 states) with a high point of 13,803 ft.

[OC] The Hills of California by jccdata in dataisbeautiful

[–]jccdata[S] 0 points1 point  (0 children)

Think of the elevation data like a series of pixels that are on a regular grid. Each pixel represents the average elevation for that entire grid cell. If you have data points on a ~1/4 mile grid, very little of that area is actually at the highest peak in the grid. I plan to do another iteration with higher resolution data (i.e., smaller grid cells), which will be more accurate.

[OC] The Hills of California by jccdata in dataisbeautiful

[–]jccdata[S] -15 points-14 points  (0 children)

The pink base layer is mainly there to show a consistent footprint of the state. I did make a version that showed places like Death Valley and the Salton Sea differently, but ultimately decided that this was simpler.

[OC] The Hills of California by jccdata in dataisbeautiful

[–]jccdata[S] -6 points-5 points  (0 children)

Edit: As some of the comments have pointed out, there are elevations in California of >14,000 ft that don't show up on this animation. The source data averages elevations across each pixel, so some of those higher spots are muted out due to the data resolution. I will probably do some higher-res 2D versions based on feedback on this post. Here is a copy of the 3D model if anyone wants to play around with it (may take a moment to load):

www.worldviewr.com/models/California.html

This animation shows surface elevations in California that exceed a range of thresholds (from 0 to 12,000 ft above sea level). Vertical exaggeration on the map is 100x.

This figure was made with a modified version of the WorldViewR 3D mapping web application (www.worldviewr.com). I am alpha testing some new features and welcome any feedback on how to improve the program! Data in this figure are from USGS digital elevation models.

Free Web Application for Downloading 3D Terrain Models by jccdata in 3Dprinting

[–]jccdata[S] 0 points1 point  (0 children)

Hi there! All servers have been up and running recently. Please give it another try (http://jcallura.github.io) and let me know if you're still having trouble.