Week 2 Check Ins #6
Replies: 7 comments 7 replies
-
Jiarui's Tuesday UpdateAccording to Dr.Eli's method of establishing buffer areas and line-smoothing, I searched for ways of how similar ways can be conducted via Python. Import required packagesimport matplotlib.pyplot as plt Select the India coastline from the world map'crs = ccrs.PlateCarree() coastline = gpd.read_file(gpd.datasets.get_path('naturalearth_lowres')) india_coastline = coastline[coastline['name'] == 'India'] Convert the CRS to UTM zone 43Nindia_coastline_utm = india_coastline.to_crs('EPSG:32643') Creating 100km and 300km buffer lines along coastlinedistances = [100000, 300000] buffered = [] for distance in distances: buffered_wgs84 = [buf.to_crs(india_coastline.crs) for buf in buffered] Unify all buffered geometriesunion_buffered = unary_union(buffered) Plottingfig = plt.figure() Add gridlinesgl = ax.gridlines(crs=ccrs.PlateCarree(), draw_labels=True, linewidth=1, color='gray', alpha=0.5, linestyle='--') Plot buffersfor buf in buffered_wgs84: plt.show()` This is the output of applying a 100km and a 300km buffer zone along the coastal line (there is noise on the top): Then I tried to detect upwelling via the sst differences, this is my notebook: https://dhub.opensci.live/user/nana7miiii/lab/tree/test.ipynb |
Beta Was this translation helpful? Give feedback.
-
Minh's Monday check-in:ERA5 data: downloaded northward and eastward wind data, cleaned and combined data. |
Beta Was this translation helpful? Give feedback.
-
@eeholmes I have used ds.attrs to check the metadata to find the projection, but there is no projection info (I am using links such as 'https://archive.podaac.earthdata.nasa.gov/podaac-ops-cumulus-protected/MUR-JPL-L4-GLOB-v4.1/20210701090000-JPL-L4_GHRSST-SSTfnd-MUR-GLOB-v02.0-fv04.1.nc'). There are some attributes such as |
Beta Was this translation helpful? Give feedback.
-
Minh's Wednesday check-in:Finish downsampling era5 wind data, computed speed and direction. |
Beta Was this translation helpful? Give feedback.
-
Eli's Thursday Check-inI talked with colleagues about how to store data. A Zarr database might be a good option. https://zarr.dev/slides/scipy-2019.pdf, https://zarr.readthedocs.io/en/stable/. It sounds like this is an efficient way to work with data that are too big for memory and is optimized for parallel computing. Other notes
I have a meeting set up for Friday to get the storage set up. Need to get an idea of the size of storage I should set up |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Eli Check-in @minhphan03 Some other sources of ERA5 that might allow applying a bounding box before downloading
Alternative approach. Go back to using ERDDAP where you can apply a bounding box.
Link discussing ERA5
Geopotential and upwelling? |
Beta Was this translation helpful? Give feedback.
-
[Placeholder]
Beta Was this translation helpful? Give feedback.
All reactions