一篇关于冻土区调参的论文

Zhao Y, Nan Z*, Yu W, Zhang L. Calibrating a hydrological model by stratifying frozen ground types and seasons in a cold alpine basin. Water. 2019, 11(5): 985. DOI:10.3390/w11050985.

Abstract: Frozen ground and precipitation seasonality may strongly affect hydrological processes in a cold alpine basin, but the calibration of a hydrological model rarely considers their impacts on model parameters, likely leading to considerable simulation biases. In this study, we conducted a case study in a typical alpine catchment, the Babao River basin, in Northwest China, using the distributed hydrology–soil–vegetation model (DHSVM), to investigate the impacts of frozen ground type and precipitation seasonality on model parameters. The sensitivity analysis identified seven sensitive parameters in the DHSVM, amid which soil model parameters are found sensitive to the frozen ground type and land cover/vegetation parameters sensitive to dry and wet seasons. A stratified calibration approach that considers the impacts on model parameters of frozen soil types and seasons was then proposed and implemented by the particle swarm optimization method. The results show that the proposed calibration approach can obviously improve simulation accuracy in modeling streamflow in the study basin. The seasonally stratified calibration has an advantage in controlling evapotranspiration and surface flow in rainy periods, while the spatially stratified calibration considering frozen soil type enhances the simulation of base flow. In a typical cold alpine area without sufficient measured parametric values, this approach can outperform conventional calibration approaches in providing more robust parameter values. The underestimation in the April streamflow also highlights the importance of improved physics in a hydrological model, without which the model calibration cannot fully compensate the gap.

Keywords: parameter calibration; cold alpine basin; frozen ground; precipitation seasonality; sensitivity analysis; distributed hydrology–soil–vegetation model

官方下载链接:Link

Win 10 程序界面在屏幕外面,如何移回来

在办公室时,我Laptop往往连着一个外接大屏幕工作,离开时就直接把线一拔。一些应用程序像NoteExpress,进入扩展屏幕模式后在扩展屏幕上使用,当拔下扩展屏幕连接线,NE界面仍然还在扩展屏幕上(有些程序能自动回来主屏幕,明显NE在这方面考虑的很不够),在当前屏幕上就看不到,以后打开NE,也都是恢复到此前位置(即不存在的扩展屏幕上)。

通过以下方法解决:

用Alt + Tab 切换到NE为当前窗口(激活状态) ,用快捷键 Alt + (空格键) 激活菜单,再按 M (移动) ,就可以通过左右方向键移窗口至可视区域。

如果Alt+空格被别的程序所占,如Find and Run Robot,那么在进行上述操作前,关闭之。

其它多数应用程序也都按如上方法恢复。如果实在不行,那么就找一块外接屏幕,接上,然后将外接屏幕的程序拉回当前屏幕,然后再拔掉。

Euclidea: Sketches 辅助中学几何动点问题的理解

南卓铜 ([email protected])

我之前介绍过这个ios上的小app,功能很强大。微信有朋友反映说用起来还是有点困难。的确是这样。昨天又碰到小朋友问一个动点问题,他们老师讲的她理解不透。

这个问题是:

【2014玄武一模】在△ABC中,∠ACB=90°,经过点C的⊙O与斜边AB相切于点P.

  1. 如图1,当点O在AC上时,试说明2∠ACP = ∠B;
  2. 如图2,AC=8,BC=6,当点O在△ABC外部时,求CP 长的取值范围。
图 1
图 2
Continue reading

用Euclidea: Sketches 辅导小朋友解几何题

小娃娃初中的几何题都已经很难,有时候要划很多辅助线,尤其是一些动点问题,手划很费劲。于是我就想有没有好的app,可以辅助家长小朋友来理解这类几何题。找了一圈,试了不少app,找到这个Euclidea: Sketches,正满足我的需求。推荐给大家。

App可以从美区 app store搜索 Euclidea: Sketches 安装。我不确定中国区有没有这个app,想来是教育类的应该会有的。

下图是我帮小朋友解决的一个几何题,大概是想证明:如果一个四边形只有对角和对边相等,可能不是平等四边形,要找出反例。题目提示要利用圆周的同弧等角定理。所以通过构造一个圆,得到相等的两个角 a, b,由于原AD 与BC 相等,那么如果找到一条 ED 与AD 相等,就找到对角和对边相等而不是平行四边形的例子了 (四边形DEBC)。E 是个动点,形成的角b 与a 永远是同弧等角。此类动点问题通过 Sketches 得到充分的演示。

An example of geometry problem using Sketches
Continue reading

一篇冰川冻土中文论文

赵奕,南卓铜*,李祥飞,徐毅,张凌. 分布式水文模型DHSVM在西北高寒山区流域的适用性研究. 冰川冻土. 2019, 41(1): 147-157.

分布式水文-土壤-植被模型(Distributed Hydrology Soil Vegetation Model, DHSVM)是基于栅格离散的分布式水文模型,对地表水热循环的各个过程能进行很精细地刻画,被广泛应用于世界各地很多类型的流域的高时空分辨率的水文模拟,然而它在高寒山区的适用性并不清楚。基于300m数字高程模型,应用DHSVM 模型对典型的高寒山区流域八宝河流域2001-2009年的水文过程展开模拟,并采用流域出口祁连站的水文实测数据对模型进行了精度评价。参数敏感性分析表明,土壤横向导水率、田间持水量和植被反照率等是该区域主要的敏感性参数。模型默认参数会高估高寒山区流域的潜在蒸散发量,导致夏季径流量远小于观测值。通过参数率定,模型校准期(2001-2004)的模拟日径流和月径流Nash 效率系数分别达到0.72 和0.87;而模型验证期(2005-2009)分别为0.60 和0.74 。结果表明,DHSVM 模型基本具备了模拟高寒山区流域降水-径流过程的能力。然而,由于DHSVM 模型缺少对高寒山区流域土壤的冻融过程的刻画,春季径流的模拟精度明显受到影响,需要在将来重点改进。

下载 (pdf, ~1.86 MB):

期刊官网:Link

Arcinfo Generate 格式转Shapefile 的方法

Arc/Info Generate 格式已经有点历史,现在版本的ArcMap 都不能直接支持对该格式的读取。但由于Generate 格式对矢量数据模型的表达十分简明,在教学中仍然还广泛提及。为了看看Generate 文件的地图效果,需要把该格式转为Shapefile 等格式,才能在ArcMap 中显示。

第一种转换的方法是使用ArcGIS 的Data Interoperability 模块

ArcGIS Desktop 里需要安装 Data Interoperability 模块,在ArcMap Extension 里将该模块打勾,然后通过 ArcToolbox 下的 Data Interoperability Tools 里的Quick Import 将Generate 文件导入到Shapefile 或者 Geodatabase。

Data Interoperability 实际上是调用了内置的FME Reader 来实现格式互转,ArcInfo Generate 的短名是ARCGEN。如果Generate 文件后缀是.gen,在import时可以被自动识别;如果不是.gen,则需要手动设置输入格式是ARCGEN。

第二种转换方法是使用第三方工具 gen2shp (提供可执行文件下载)

Continue reading

Windows 10笔记本通过手机热点上网时限制流量

我手机有“无限”流量,所以在出差时经常开着手机做热点,让笔记本电脑通过手机上网。Laptop安装的是Windows 10,win10有个特点就是会偷偷地在后台帮你下载东西。当win10连接到热点,它就以为是wifi,所以就可能后台下载更新包等东西,这些东西可能很大,因而可能消耗大量的流量。

那么有没有可能当通过手机上网时,禁止win10后台下载东西?有的,只需要一点点设置。

metered_wifi
Continue reading

Debian 9上安装SS/Libev

环境:Debian 9,一些依赖package已经安装。

利用一些一键脚本,使得安装过程最大简化。因为SS的python版本不大更新,试着安装一下libev版本。

1、获取一键脚本,并设置可执行权限,执行该脚本。

wget https://raw.githubusercontent.com/hongwenjun/vps_setup/master/shadowsocks/install_ss-server.sh 
chmod +x install_ss-server.sh 
./install_ss-server.sh 

2、安装haveged并启动,否则SS启不起来,会提示熵不足。

apt-get install haveged
systemctl start haveged

3、将下面内容添加到/etc/rc.local,使之可以启动时运行。

# -p 端口 -k 密码 -m 协议 -s 服务ip 
ss-server -s 0.0.0.0 -p 【端口】-k 【密码】-m aes-256-cfb -t 300 >> /var/log/ss-server.log &

注意这里 –s 后必须是0.0.0.0,而不能是127.0.0.1,端口、密码自行设置;-m 后是方法,推荐是 aes-256-gcm 之类的,但可能手机端不提供这些高级的加密方法,因此我选用次之的。注意这是一行命令,尾巴的 & 不能少(表示常驻后台运行)。

Continue reading

Tunsafe for windows 1.4+ 流量分流方法

网上一些帖子(如逗比根据地)报告了使用WG配置文件里的PreUp, PostDown实现WireGuard分流。

在知名的WG客户端Tunsafe for windows 1.4版本以上,支持一个ExcludeIPs的参数,可以实现更为便捷的分流。这个方法不需要使用PreUp, PostDown等参数。

比如我的客户端配置:

[Interface]
PrivateKey = –DETRACTED-
Address = 10.0.0.2/32
DNS = 8.8.4.4
MTU = 1420

ExcludedIPs = 1.0.1.0/24

ExcludedIPs = 1.0.2.0/23

[Peer]
PublicKey =  –DETRACTED-
Endpoint =  –DETRACTED-: –DETRACTED-
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 25

Continue reading

WordPress 从4.9.8升级到5.0.2 编辑器出错的问题

顺利升级后,打开新帖子或者编辑已有帖子,均提示:The editor has encountered an unexpected error. 点击 Copy Error,提示:

TypeError: Cannot read property ‘show_ui’ of undefined    at http://nanzt.info/wp-includes/js/dist/editor.min.js?ver=9.0.6:55:240816

原因在于nginx try_files的设置,修改为如下,重启nginx则问题消失。

location / {
                try_files $uri $uri/ /index.php$is_args$args;
        }