apsimRegions
============
The apsimRegions is a suite of software tools designed to extend the point-specific Agricultural Production Systems sIMulator (APSIM) crop model to regional spatial scales. It is written in the Python programming language and is currently verified compatible with the Windows version of APSIM 7.4. ApsimRegions is essentially a one-way nested climate-crop modeling framework that links gridded weather data (rain, temperature, radiation, etc.) with the APSIM model. See http://www.apsim.info/Wiki for more information about APSIM. It currently has only been tested with Python 2.7.3. To get started with Python try Python(X,Y) which can be downloaded at https://python-xy.github.io. The included Spyder IDE is very similar to Matlab.
It is used to create and run .apsim files with many thousands of simulations. Each simulation can represent a unique location or management scenario. The simplest way to use each simulation for different locations would be to create a lookup table with a grid point number and the associated lat and lon. Each simulation would be named from the grid point. Additionally, create a unique .met file for each grid point and reference these in each simulation. It is then possible to loop through all the grid points and create unique simulations (.met file, management rules, soil type, etc.) for each grid point.
- The apsimRegions directory contains code for creating the APSIM files (preprocess). Just move the package to your Python site-packages folder (ie C:\Python27\Lib\site-packages) and import the apsimRegions package by using in Python:
import apsimRegions as ar
Call all the funtions by using ar.{function}
- The scrips directory contains code for running APSIM. Copy both apsimRun.py and utils.py to your APSIM installation directory. Run them on Windows from the command line by using the command:
C:\{data_directory}> "C:/Program Files (x86)/Apsim74-r2286/Model/ApsimRun.py"
from the directory containing .apsim file(s) you wish to run. The associated .out and .sum files will be generated as the script runs, but will be removed after it is completed and the files are archived (*.tar.gz) and saved to a SQLite database. See the run.bat example in the examples folder.
没有合适的资源?快使用搜索试试~ 我知道了~
apsimRegions:ApsimRegions是一种单向嵌套的气候作物建模框架,它将栅格化的气象数据(雨,温度,辐射等)与特...
共33个文件
py:15个
rst:6个
bat:3个
5星 · 超过95%的资源 需积分: 50 11 下载量 78 浏览量
2021-05-06
00:47:29
上传
评论 2
收藏 4.67MB ZIP 举报
温馨提示
地区 apsimRegions是一套软件工具,旨在将针对特定点的农业生产系统仿真器(APSIM)作物模型扩展到区域空间尺度。 它是用Python编程语言编写的,目前已验证与Windows版本的APSIM 7.4兼容。 ApsimRegions本质上是一种单向嵌套的气候作物建模框架,该框架将栅格化的气象数据(雨,温度,辐射等)与APSIM模型链接在一起。 有关APSIM的更多信息,请参见 。 目前仅使用Python 2.7.3进行了测试。 要开始使用Python,请尝试Python(X,Y),可以从下载。 附带的Spyder IDE与Matlab非常相似。 它用于创建和运行具有成千上万次模拟的.apsim文件。 每个模拟都可以代表一个唯一的位置或管理方案。 将每个模拟用于不同位置的最简单方法是创建一个具有网格点编号以及关联的纬度和经度的查找表。 每个模拟都将从网格点命名。 此外,为每个网格
资源详情
资源评论
资源推荐
收起资源包目录
apsimRegions-master.zip (33个子文件)
apsimRegions-master
apsimRegions
__init__.py 109B
preprocess
fileio.py 8KB
managementRules.py 24KB
apsimconfig.py 13KB
apsim.py 11KB
configMaker.py 12KB
soils.py 696B
apsimPreprocess.py 3KB
batch.py 2KB
__init__.py 0B
doc
tutorial.rst 3KB
conf.py 8KB
make.bat 5KB
intro.rst 1KB
api
api_preprocess.rst 1KB
api.rst 116B
download.rst 312B
Makefile 5KB
index.rst 570B
examples
exampleLookupTable.csv 1KB
metfiles
NARR32
NARR32.zip 1.26MB
config_template.ini 4KB
soils
cell5m_hc27id_predom.zip 3.56MB
hc27_v1_1.soils 311KB
run.bat 290B
install.bat 635B
LICENSE.md 1KB
.gitignore 344B
README.md 2KB
scripts
preprocess.py 2KB
apsimRun
utils.py 12KB
ApsimRun.py 11KB
masterRunDb.py 20KB
共 33 条
- 1
无分别
- 粉丝: 25
- 资源: 4574
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1