CIGLR-ai-lab / GreatLakes-TempSensors

Collaborative repository for optimizing the placement of temperature sensors in the Great Lakes using the DeepSensor machine learning framework. Aiming to enhance the quantitative understanding of surface temperature variability for better environmental monitoring and decision-making.
MIT License
0 stars 0 forks source link

Learn about xarray for multidimensional data analysis #12

Closed DaniJonesOcean closed 3 months ago

DaniJonesOcean commented 4 months ago

Issue Description:

xarray is a powerful Python library designed to make working with labeled multi-dimensional arrays simple, efficient, and fun. This issue is dedicated to learning xarray, which is particularly well-suited to working with NetCDF data files, a common format for array-oriented scientific data with labels in the form of dimensions, coordinates, and attributes.

Learning Objectives:

Task:

Deliverable:

Resources:

By completing this issue, you'll be equipped with essential skills to handle our project’s datasets more efficiently and be prepared for advanced data analysis and visualization.

eredding02 commented 3 months ago

@DaniJonesOcean I played around with xarray using the 1995 GLSEA data, which is in NetCDF format. I have provided plots comparing surface temperature across the lakes in January and June of 1995 and also a plot looking sst at a random point in the lakes across 1995. Lastly, I attempted to plot the average temperature at each lat/lon of the lakes. Let me know if that does not look right.

Screenshot 2024-06-03 at 3 57 08 PM Screenshot 2024-06-03 at 3 57 16 PM

Screenshot 2024-06-03 at 4 09 42 PMScreenshot 2024-06-03 at 4 21 38 PM

DaniJonesOcean commented 3 months ago

@eredding02 - Looks great!

DaniJonesOcean commented 3 months ago

@eredding02 Feel free to close when you're ready