科学网

 找回密码
  注册
合并栅格图层(DEM等)——基于R
朱飞 2019-12-29 15:06
##################################合并栅格图层############################### #byzhufei2019-12-29 rm(list=ls()) library(raster) library(rgdal) library(gdalUtils) path-'d:/gis_data/ASTERGDEM'&n ...
个人分类: R|4056 次阅读|没有评论
迭代法求解露点温度——基于R
朱飞 2019-12-12 16:47
rm(list=ls()) a=21.8745584#冰面 b=7.66#冰面 T_d-data.frame() T-data$T2 rh-data$rh2 et-c() #初 ...
个人分类: R|2430 次阅读|没有评论
trmm按照年分类整理——R
朱飞 2019-11-12 13:49
#trmm按照年分类整理 #形成1998-2018年逐个文件夹,文件夹名字为年dir.create() rm(list=ls()) path-'d:/trmm_day_data' filename-dir('d:/trmm_day_data') year-as.character(seq(1998,2018,1)) for(iin& ...
个人分类: R|1296 次阅读|没有评论
批量读取nc文件并转为xlsx——matlab
朱飞 2019-11-12 13:44
%批量读取 clc clear path='d:\trmm_day_data' dirOutput1=dir(fullfile(path,'*.nc4')); fileNames1={dirOutput1.name};%文件名 filepath={dirOutput1.folder};%路径 start= ;%确定多少个格点打开一个文件 ...
个人分类: matlab|6020 次阅读|没有评论
基于python2.7和arcpy重采样tif文件
朱飞 2019-11-10 20:35
defResample_modis(tif_path,out_path): #python2.7连接arcgis importsys arcpy_path= sys.path.extend(arcpy_path) #arcgis重采样 import  ...
个人分类: python|2535 次阅读|没有评论
TRMM三个小时数据合成一天 ——R
朱飞 2019-3-24 00:09
#zhufei2019-3-24 rm(list=ls()) library(ncdf4) setwd('C:/Users/zhufe/Desktop/R_spatial')#设置nc文件所在的路径 nc-nc_open(E4E81D21036EAC6D84FEA2521AA84E3D_ferret_listing.nc) pcp-ncvar_get(nc=nc,&nbs ...
个人分类: R|2151 次阅读|没有评论
VIC模型气象强迫数据的准备——基于R
朱飞 2019-3-2 19:35
##读取数据 #数据格式:降水、最高气温、最低气温、风速。txt文件 vic_clim_forcing_read-function(txtpath,staion_lat,station_lon,time_start,time_end, &nbs ...
个人分类: R|3022 次阅读|没有评论
批量提取逐日tif文件的像元值——基于arcgis and R
朱飞 2019-2-22 23:48
批量提取逐日tif文件的像元值——基于arcgis and R 代码语言居然没有R ## arcgis准备提取点的shp文件 # 研究区域 ...
个人分类: R|9041 次阅读|没有评论

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-24 19:59

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部