Hi All
I wanted to know how to extract the netcdf output to a shapefile or raster. For example, for a lake, I want to make a shapefile that shows surface layer temperature at a certain timestamp. Ideally, a pythonic solution is prefferred.
Thank you
Anurag
Hi @mishranurag
Python has netCDF reading packages such as xarray and cdflib. All you need to do is to read the netCDF output file using these libraries, filter desired data by selecting the variable, layer, time, etc., and use geographic data processing packages, such as geopandas, to export the filtered data into a shapefile.
An easier approach to produce shapefile or other GIS-formatted data is to use EE, which is instructed here: Exporting GIS Files | EFDC+ Explorer Modeling System
I hope these help!