朝花

依然璀璨

新增
Veritas

法语

c’est la vie
这就是人生。

似乎很常见的句子,在很多电影里见过。最近突然发现自然卷的专辑也叫这个,以前没注意,还蛮有趣。

merci beaucoup
感谢 很多

很感谢

首先安利一下真理元素的这个视频


Single Event Upsets

A single-event upset (SEU), also known as a single-event error (SEE), is a change of state caused by one single ionizing particle (ions, electrons, photons…) striking a sensitive node in a micro-electronic device, such as in a microprocessor, semiconductor memory, or power transistors.

欢迎使用端到端加密和我通信,可以用我的gpg公钥给我发加密邮件,以后重要邮件可以让我用私钥签名验证身份

指纹是:
03FA 5459 8AEE 8813 A6D7 B8E1 CDC4 D344 2284 0972
邮箱是:
Hanyuyang fadedflowers@foxmail.com
公钥地址是:
https://github.com/singledoggy.gpg

补充知识:

什么是RSA算法

Xarray open_mfdataset without time dim

Xarray have a convenient method to open multi-dataset parallelly. However, sometimes time are encoded in the filename and are not in th .nc coordinate. So we need a method. For example, the dataset of my lab CAQRA[1] do this.

Stackoverflow [2]:

Create a function which adds a time dimension to a DataArray, and fill it with a arbitrary date:

1
2
3
def add_time_dim(xda):
xda = xda.expand_dims(time = [datetime.now()])
return xda

Then, pass this function to the preprocess argument when running the open_mfdataset functions:

1
data = xr.open_mfdataset(files, preprocess = add_time_dim)

Finally, fill the time dimension with my dates:

1
data['time'] = dates

Github [3]

I inspired also by an issue in Github and get the code below:

接触到汉语里面很有趣的现象,羡余否定。具体如下例 [1]


还是相当有意思的现象,有点类似

You don’t know nothing.

但是还是有点不同。在知乎[2]上似乎也有一些讨论,对外国人可能比较头疼,完全不遵守逻辑。或许这就是语言。

0%