在伪彩模式下,color_index为0~40的颜色表;在真彩模式下,color_index为0 ~‘FFFFFF’XL的RGB颜色值。默认值为黑色背景。该值存放在系统变量!P.BACKGROUND中 %COLOR=value:用于设置绘制时的前景颜色。在伪彩模式下,color_index为0~40的颜色表;在真彩模式下,color_index为0 ~‘FFFFFF’XL的RG
11、( )dcindgen( )stringstrarr( )sindgen( )例如,创建一个七元素的整型零数组和一个六元素的浮点型索引数组:IDL zeros=intarr(7) ; 创建一个七元素的整型零数组IDL index=findgen(6) ; 创建一个六元素的浮点型索引数组IDL print,zeros,index 0 0 0 0 0 0 0 0.000000 1.00000 2.00000 3.00000 4.00000...
内存地址modis_ds_id = hdf_sd_select(modis_id, modis_ds_index) ; 第一个参数传入该数据集所在文件的id, 第二个参数传入该数据集的index; 获取该数据集的数据———》通过hdf_sd_getdata() 获取该数据集的相关数据hdf_sd_getdata, modis_ds_id, modis_lat_data ; 第一个参数传入该数据集的内存地址,...
string strarr() sindgen() 例如,创立一个七元素的整型零数组和一个六元素的浮点型索引数组: IDLzeros=intarr(7);创立一个七元素的整型零数组 IDLindex=findgen(6);创立一个六元素的浮点型索引数组 IDLprint,zeros,index 0000000 IDL编程根底 结构化程序设计是E.W.Dijikstra在1965年提出的。它的主要观点是采...
Note how this uses the same command as for getting global attributes, but the variable index must be included when the /global switch is not set. 6. Get an ID for the variable varID=ncdf_varid(fileID,varname) 7. Import the selected dataset ncdf_varget,fileID,varID,variable If the ...
明矾石指数Alunite Index (ALUI) 方解石指数Calcite Index (CALI) 碳酸盐指数Carbonate Index (CARI) 黏土蚀变指数Clay Alteration Index (CLAI) 白云石指数Dolomite Index (DOLI) 绿帘石/绿泥石/两栖石指数Epidote / Chlorite / Amphibole Index (ECAI) ...
INDEX: 'index'};// 定义语法分析字段类型const EXP = { // 变量 VARIABLE: 'Identifier', // 结构申明,service、struct、method STRUCT_DECLARATIONL: 'StructDeclaration', // 变量申明,@ VAR_DECLARATION: 'VariableDeclaration', // 数据类型, Int16、UInt16、Bool、Text... ...
tmp =DIALOG_MESSAGE('Click Cancel'+STRING(i)+'%',/info) ENVI_REPORT_INIT, base=base, /finish BREAK ENDIF ;获取块数据 data=ENVI_GET_TILE(tile_id,i,band_index=band_index) ;角度插值,经过插值,这里的data变成了double类型 ;所以在写出头文件的时候要注意它的data_type是5 ...
ncdf_attget, nid, varid, att_name, tematt print,string(tematt) ENDFOR ENDFOR ;read sst sstid = ncdf_varid(nid, 'analysed_sst') ncdf_varget, nid, sstid, sst sst=sst*0.01 print,size(sst) landindex=where(sst eq min(sst)) ...
数据类型DataType 数据类型字节1字节Byte216位无符号整型UnsignedInteger216位有符号整型Integet432位有符号整型Long864位有符号整型64-bitLong432位无符号整型UnsignedLong64位无符号整型8UnsignedLong4浮点型Floating-point8双精度浮点型Double-precision8复数Complex16双精度复数Double-precisioncomplex1字符串string4指针...