会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
学习学习努力学习
博客园
首页
新随笔
联系
订阅
管理
2025年2月14日
docker常用命令汇总
摘要: 1.查看镜像 docker images 2.进入镜像(cce8f6b2cd89为镜像ID) docker run -it cce8f6b2cd89 /bin/bash 3.查看镜像中python库的版本号 pip show pyresample 4.在镜像中直接安装库 pip install gd
阅读全文
posted @ 2025-02-14 15:12 揪你小辫子
阅读(18)
评论(0)
推荐(0)
2024年2月19日
服务器终端命令记录
摘要: 1.查看文件大小 # 默认显示 [Linux]$ du # 以人类可读的方式显示 [Linux]$ du -h # 按大小排列 [Linux]$ du -h | sort -nr # 只显示 Images 文件夹的大小 [Linux]$ du -h Images/ # 只显示当前文件夹的总大小 [L
阅读全文
posted @ 2024-02-19 17:17 揪你小辫子
阅读(44)
评论(0)
推荐(0)
2023年8月15日
python重采样tif影像,自定义空间分辨率
摘要: import warnings import netCDF4 warnings.filterwarnings('ignore') warnings.filterwarnings('ignore', category=DeprecationWarning) import netCDF4 import
阅读全文
posted @ 2023-08-15 14:46 揪你小辫子
阅读(468)
评论(0)
推荐(1)
2023年7月28日
python FY-3D MWRI亮温每轨影像hdf转tif
摘要: FY-3D MWRI亮温数据包含单独的经纬度数据集和亮温数据集(维度大小一样),需要把HDF数据转成0.1度的WGS84 tif数据。 方法:gdal.Translate + gdal.Warp 1. 先使用gdal.Translate 函数构建VRT文件 gdal.Translate(vrtDir
阅读全文
posted @ 2023-07-28 10:56 揪你小辫子
阅读(544)
评论(0)
推荐(0)
2022年6月20日
python doy与年月日转换
摘要: 1.年月日转DOY def date2doy(year, month, day): month_leapyear = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] month_notleap = [31, 28, 31, 30, 31, 30, 3
阅读全文
posted @ 2022-06-20 20:24 揪你小辫子
阅读(700)
评论(0)
推荐(0)
2022年4月15日
Python nc文件批量转tif再转投影
摘要: import warnings import nc import netCDF4 warnings.filterwarnings('ignore') warnings.filterwarnings('ignore', category=DeprecationWarning) import netCD
阅读全文
posted @ 2022-04-15 16:22 揪你小辫子
阅读(516)
评论(0)
推荐(0)
python HDF文件批量转TIF再转投影
摘要: import warnings warnings.filterwarnings('ignore') warnings.filterwarnings('ignore', category=DeprecationWarning) import netCDF4 import pandas as pd im
阅读全文
posted @ 2022-04-15 16:19 揪你小辫子
阅读(549)
评论(0)
推荐(0)
python EASE 2.0网格行列号与经纬度之间转换
摘要: 1.经纬度转行列号 from ease_lonlat import EASE2GRID, SUPPORTED_GRIDS # define new grid by yourself grid = EASE2GRID(name='EASE2_T3125m', epsg=6933, x_min=-173
阅读全文
posted @ 2022-04-15 16:14 揪你小辫子
阅读(1220)
评论(0)
推荐(0)
python DataFrame或者Series重置index
摘要: 对于一些需要筛选的数据,判断得到满足条件的index对应的值,此时筛选出的series的index为: index = ((year_site == 2018) & (month_site == 2) & (day_site == 1)) Site_data = Site_SD[index] 如果想
阅读全文
posted @ 2022-04-15 16:01 揪你小辫子
阅读(586)
评论(0)
推荐(0)
2022年4月13日
wget批量下载目录文件
摘要: 一、wget下载解压过后,将路径添加到环境变量中 二、打开命令提示符,在里面输入wget -V查看是否配置成功 三、打开命令提示符,在里面输入如下语句即可开始下载 wget -e robots=off --mirror --no-parent -r -P "E:\FSC_AVHRR\2019" -n
阅读全文
posted @ 2022-04-13 21:00 揪你小辫子
阅读(1421)
评论(0)
推荐(0)
下一页
公告