Documentation of rdhis


Global Index (short | long) | Local contents | Local Index (short | long)


Help text


 reads data from a netcdf file with multiple time steps (monthly data) and


Cross-Reference Information

This script calls

Listing of script rdhis


file_in='histape.cdf' ;
file_out=input('Which output file?','s')
%%%%%%%%%%%  reads defaults
[x,nxa,nya,nti,nday,xa,ya,time,xdim,xid]=readnc(file_in);
%%%%%%%%%%%  possible variables
oro=10; sst=25; ts=24; shflx=31; lhflx=32; psl=12; precl=17; taux=15; tauy=16;
xid=input('Which variable?')
%%%%%%%%%%%  geometry
level=1;
% frame=[-180 179 -90 90];
frame=[-80 20 -30 44];
period=[1 100];
tmax=period(1,2)-period(1,1)+1 ;
nyrs=(tmax -  rem(tmax,12))/12;
clear x
clear avex
clear anomx
[x,nxa,nya,nti]=readnc(file_in,frame,period,level,xa,ya,time,xdim,xid);