top of page

Create Your First Project

Start adding your projects to your portfolio. Click on "Manage Projects" to get started

Python Coding Example

Project Type

Python Coding Project

I wrote a python code to help clean up a table of Snowshoe Hare GPS Collar data. I first wrote a search cursor that took date and time from one file and found the corresponding Object ID and inserted the Date and Time into the next file. I also added two additional try blocks to my code. The second try block converts the 12-hour time into a 24-hour time (military time) and stores this in a new field called Time24. The third try block takes the time in Time24 and groups them into four categories. 4:00 – 10:00 Sunrise, 10:00 – 16:00 Midday, 16:00 – 22:00 Sunset, 22:00 – 4:00 Midnight.

bottom of page