Join Patrick Royal for an in-depth discussion in this video My solution: Getting data, part of Code Clinic: Java.
…The first task we need to accomplish in order to complete…this Code Clinic is to get the data that we will use.…As I mentioned in the introduction, the data is stored at lpo.dt.navy.mil.…So let's go there now just to see what the data format looks like.…This website contains a lot of different information for…both the Deep Moor and the Yellow Barge sensors.…These weather buoys are constantly gathering data about the air conditions…at their location, including wind speed, air temperature, sunlight, and more.…On the right, there is a webcam that takes…a picture of the station outpost every 60 seconds.…
We could try to get the data directly from this homepage,…but the problem is that it has a lot of formatting.…It require lots of specialized code to get this data and if…the format of this webpage were…ever changed, our solution wouldn't work anymore.…Instead, let's click on the Raw Data link.…This brings us to a much more standard…file structure with all of the relevant data listed.…We're looking for the Deep Moor weather data, so let's click on that.…
Patrick introduces challenges and provide an overview of his solutions in Java. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Visit other courses in the series to see how to solve the exact same challenges in languages like C#, C++, PHP, Python, and Ruby.
Skill Level Intermediate
Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided here for lynda.com members outside of the U.S
Problem One: Exploring Lake Pend Oreille
Problem Two: Image Analysis
Problem Three: Eight Queens
Problem Four: Accessing Peripherals
Problem Five: Recursion and Directories
Problem Six: Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.