Change projection of netcdf data and convert from UTM to lat/lon
조회 수: 20 (최근 30일)
이전 댓글 표시
I have a netcdf file
vardata=ncread('TL__Map1_15C_sand1__20mres_-36.265137N_174.790466','TLdata');
ncdisp('TL__Map1_15C_sand1__20mres_-36.265137N_174.790466')
Source:
X:\Matlab Scripts\TL__Map1_15C_sand1__20mres_-36.265137N_174.790466
Format:
netcdf4
Global Attributes:
description = 'TL data set TLmaps/TL__Map1_15C_sand1__20mres_-36.265137N_174.790466'
history = 'Created Fri Nov 12 09:55:31 2021'
source = 'netCDF4 python module tutorial'
Dimensions:
ilat = 280
ilon = 489
ifreq = 91
Variables:
TLdata
Size: 91x489x280
Dimensions: ifreq,ilon,ilat
Datatype: single
Attributes:
least_significant_digit = 2
units = 'dB'
H_latdata
Size: 280x1
Dimensions: ilat
Datatype: single
Attributes:
units = 'degN or m'
H_londata
Size: 489x1
Dimensions: ilon
Datatype: single
Attributes:
units = 'degE or m'
H_freqdata
Size: 91x1
Dimensions: ifreq
Datatype: single
Attributes:
units = 'Hz'
I know that the projection is WGS 1984 Mercator 41 and the lat/lon coordinates are in UTM.
I would like to be able to convert this grid to lat/lon, can anyone help?
댓글 수: 0
채택된 답변
추가 답변 (1개)
Rishabh Singh
2021년 11월 29일
댓글 수: 3
Rishabh Singh
2021년 11월 30일
Could you provide more insight on this issue of yours regarding lat/lon array of different sizes?
참고 항목
카테고리
Help Center 및 File Exchange에서 NetCDF에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!