search for: ncdf_varget

Displaying 1 result from an estimated 1 matches for "ncdf_varget".

2012 Jul 23
2
translating IDL to R
...at-j] gfedmly[*,nlat-j] = tmp endfor undefine, tmp ; Then, you can read daily fire fractions from the netcdf file. file1_in = string('fraction_emissions_20040121.nc') file1_in=strcompress(file1_in, /REMOVE_ALL) fid=NCDF_OPEN(file1_in) varid=NCDF_VARID(fid,'Fraction_of_Emissions') NCDF_VARGET, fid, varid, DATA NCDF_CLOSE, fid gfeddly=gfedmly*DATA ;++++++++++++++++++++ the end for daily emissions ++++++++++++++++++ ;++++++++++++++++++++ idl code to generate 3-hourly emissions ++++++ nlon=720 ; number of grid points by longitude nlat=360 ; number of grid points by latitude nhor=8 ; numbe...