Getting incorrect plots for cosmic-2 bending profiles
4 次查看(过去 30 天)
显示 更早的评论
Hey there, I am trying to reproduce results of a paper (see image below) (https://www.mdpi.com/2073-4433/14/1/121). I am trying to plot the bending profile of the files used in this paper (file attached) but for some reason my results are far off than the ones in the paper. I've searched everywhere but seems like I am missing something.
The thing that I want to get (at least one line from the following)
Please check the following code
File = "atmPrf_C2E3.2022.016.01.45.R04_0001.0001_nc";
info = ncinfo(File);
impactHeigth = ncread(File,"Impact_height");
Temp = ncread(File,'Ref');
tongLat = ncread(File, "Lat");
TongLong = ncread(File, "Lon");
pres = ncread(File,"Pres");
bendAngle = ncread(File, "Bend_ang");
bendAngle_sigma = ncread(File, 'Bend_ang_stdv');
bendAngle_ci = ncread(File, 'Bend_ang_conf');
MSL = ncread(File, "MSL_alt");
maxHeight = 40;
minHeight = 5;
alt = MSL((MSL >= minHeight) & (MSL <= maxHeight));
temp = Temp(1:length(alt));
figure
plot(bendAngle, impactHeigth)
title("COSMIC-2 RO Bending Angle W.R.T Mean Sea Altitude")
xlabel("Bending Angle")
ylabel("Mean Sea Altitude (km)")
8 个评论
回答(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!