I tried everything to clip NetCDF file with polygon but it is not working
2 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I have used MATLAB to generate the 720 x 360 x 187 NetCDF data which means to be the global data. Currently, I hope to clip it with the polygon. I reviewed the MATLAB answers but I still cannot find any solution.
I tried to use "inpolygon", but it did not work. It kept telling me "matrix dimensions must agree". I used transpose and they don't work.
I tried to use Interp2 and interp3 (since it is a 3-dimensional data) but neither works.
Please let me know what I should do so that I can clip my NetCDF data with my polygon. Thank you.
1 件のコメント
meghannmarie
2020 年 9 月 18 日
編集済み: meghannmarie
2020 年 9 月 18 日
Can you provide an example of the polygon and netcdf file? Is your poly a rectangle?
Are you trying to clip data and write a new netcdf or just trying to access that data?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で NetCDF についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!