自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 气象 python二维插值

一、函数scipy.interpolate.griddata(points, values, xi, method=‘linear’, fill_value=nan, rescale=False)官网:https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.griddata.html?highlight=griddata二、参数values一维数组,shape为(n,) ,是需要插值的变量数据如果需要插值的变量

2022-04-03 10:07:58 1773

原创 cmorph数据读取 python

首先将下载得到的文件解压python读取import numpy as npntime = 8nlon = 1440nlat = 480fnm = r'd:/CMORPH_V1.0_ADJ_0.25deg-3HLY_20190804'with open(fnm, 'rb') as f: prerate=np.fromfile(f,dtype=np.float32)prerate = np.reshape(prerate,(ntime,nlat,nlon))...

2022-03-17 20:55:07 1150

原创 python 安装包出现的问题

pip install pylab结果:ERROR: Could not find a version that satisfies the requirement pylab (from versions: none)ERROR: No matching distribution found for pylab解决方法:pip install pylab -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com...

2022-03-17 19:06:01 918

原创 Python气象图形的绘制——Day1

需要用到的库import xarray as xr #数据读取import numpy as np #用于计算import matplotlib.pyplot as plt #数据可视化import cartopy.crs as ccrs #地图投影from cartopy.mpl.ticker import LongitudeFormatter, LatitudeFormatternc数据的读取file_n

2021-03-19 22:45:44 1366 1

原创 Python气象图形的绘制——预

引入库安装库时报错:Solving environment: failed with initial frozen solve. Retrying with flexible solve.解决办法:conda install -c conda-forge 包来源:https://blog.csdn.net/hahadelaochao/article/details/106745221but 遇到netcdf4的时候问题又重现了解决办法:pip install 包但是问题没有解决解

2021-03-19 17:25:50 243 1

原创 WRF Mobaxterm Docker

1.Docker安装成功却无法在mobaxterm挂载到本地mobaxterm种遇到docker:command not found,但是power shell可以解决方案mobaxterm->settings->configuration->terminal 选中下图即可2.无法运行镜像如下命令运行结果是:the input device is not a TTY. If you are using mintty, try prefixing the comm

2021-03-18 22:20:11 311

原创 《Machine Learning》机器学习的定义——Andrew Ng

定义:E:电脑玩跳棋的成千上万次经验P:赢得比赛的概率T:玩跳棋的任务例子:标记垃圾邮件T:选项AE:选项BP:选项C学习算法监督学习与无监督学习

2021-03-13 11:33:19 99

原创 1.2 机器学习的任务

文章目录1.2 机器学习的任务1.2.1 认知观点1.2.2 表示问题1.2.2.1 零阶逻辑(命题演算)1.2.2.2 属性逻辑1.2.2.3 一阶谓词逻辑:Horn子句1.2.2.4 二阶谓词逻辑1.2.2.5 明确约束的语言1.2 机器学习的任务机器学习的一般框架:学习系统根据提供的样本和背景知识,确定特定概念的描述学习算法分为黑箱法(例:神经网络、数学统计)和基于知识方法1.2.1 认知观点概念:对一组具有共同性质而区别于其他对象的对象的抽象表示相关概念常常

2021-03-12 15:33:48 127

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除