wrfrun 0.1.8__tar.gz → 0.1.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. {wrfrun-0.1.8 → wrfrun-0.1.9}/.gitignore +1 -2
  2. wrfrun-0.1.9/.python-version +1 -0
  3. {wrfrun-0.1.8 → wrfrun-0.1.9}/PKG-INFO +3 -2
  4. {wrfrun-0.1.8 → wrfrun-0.1.9}/meson.build +1 -1
  5. {wrfrun-0.1.8 → wrfrun-0.1.9}/pyproject.toml +19 -3
  6. wrfrun-0.1.9/uv.lock +2443 -0
  7. wrfrun-0.1.9/wrfrun/cli.py +128 -0
  8. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/core/base.py +8 -5
  9. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/core/config.py +81 -150
  10. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/core/replay.py +1 -1
  11. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/core/server.py +81 -78
  12. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/extension/goos_sst/__init__.py +5 -5
  13. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/extension/goos_sst/core.py +4 -1
  14. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/extension/goos_sst/res/Vtable.ERA_GOOS_SST +1 -1
  15. wrfrun-0.1.9/wrfrun/extension/goos_sst/res/__init__.py +26 -0
  16. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/extension/goos_sst/utils.py +21 -5
  17. wrfrun-0.1.9/wrfrun/extension/littler/__init__.py +57 -0
  18. wrfrun-0.1.8/wrfrun/extension/littler/utils.py → wrfrun-0.1.9/wrfrun/extension/littler/core.py +326 -40
  19. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/extension/littler/meson.build +1 -1
  20. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/extension/utils.py +22 -21
  21. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/meson.build +4 -3
  22. wrfrun-0.1.9/wrfrun/model/__init__.py +30 -0
  23. wrfrun-0.1.9/wrfrun/model/plot.py +272 -0
  24. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/model/utils.py +17 -8
  25. wrfrun-0.1.9/wrfrun/model/wrf/__init__.py +47 -0
  26. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/model/wrf/core.py +215 -99
  27. wrfrun-0.1.9/wrfrun/model/wrf/exec_wrap.py +115 -0
  28. wrfrun-0.1.9/wrfrun/model/wrf/log.py +43 -0
  29. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/model/wrf/meson.build +1 -2
  30. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/model/wrf/namelist.py +79 -4
  31. wrfrun-0.1.9/wrfrun/model/wrf/plot.py +5 -0
  32. wrfrun-0.1.8/wrfrun/model/wrf/_metgrid.py → wrfrun-0.1.9/wrfrun/model/wrf/utils.py +36 -2
  33. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/model/wrf/vtable.py +2 -1
  34. wrfrun-0.1.9/wrfrun/res/__init__.py +25 -0
  35. wrfrun-0.1.9/wrfrun/res/config/config.template.toml +50 -0
  36. wrfrun-0.1.9/wrfrun/res/config/meson.build +7 -0
  37. wrfrun-0.1.9/wrfrun/res/config/name_map.json +10 -0
  38. wrfrun-0.1.8/wrfrun/res/config.toml.template → wrfrun-0.1.9/wrfrun/res/config/wrf.template.toml +7 -46
  39. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/res/generate_init.py +1 -1
  40. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/res/meson.build +3 -3
  41. wrfrun-0.1.9/wrfrun/res/name_map.json +22 -0
  42. wrfrun-0.1.9/wrfrun/res/run.template.sh +10 -0
  43. wrfrun-0.1.9/wrfrun/res/scheduler/lsf.template +5 -0
  44. {wrfrun-0.1.8/wrfrun/res/job_scheduler → wrfrun-0.1.9/wrfrun/res/scheduler}/meson.build +2 -1
  45. {wrfrun-0.1.8/wrfrun/res/job_scheduler → wrfrun-0.1.9/wrfrun/res/scheduler}/name_map.json +4 -0
  46. {wrfrun-0.1.8/wrfrun/res/job_scheduler → wrfrun-0.1.9/wrfrun/res/scheduler}/pbs.template +1 -1
  47. {wrfrun-0.1.8/wrfrun/res/job_scheduler → wrfrun-0.1.9/wrfrun/res/scheduler}/slurm.template +2 -1
  48. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/run.py +19 -23
  49. wrfrun-0.1.9/wrfrun/scheduler/__init__.py +35 -0
  50. wrfrun-0.1.9/wrfrun/scheduler/env.py +44 -0
  51. wrfrun-0.1.9/wrfrun/scheduler/lsf.py +47 -0
  52. wrfrun-0.1.9/wrfrun/scheduler/meson.build +12 -0
  53. wrfrun-0.1.9/wrfrun/scheduler/pbs.py +48 -0
  54. wrfrun-0.1.9/wrfrun/scheduler/script.py +70 -0
  55. wrfrun-0.1.9/wrfrun/scheduler/slurm.py +48 -0
  56. wrfrun-0.1.9/wrfrun/scheduler/utils.py +14 -0
  57. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/utils.py +8 -3
  58. wrfrun-0.1.9/wrfrun/workspace/__init__.py +38 -0
  59. wrfrun-0.1.9/wrfrun/workspace/core.py +92 -0
  60. wrfrun-0.1.9/wrfrun/workspace/meson.build +8 -0
  61. wrfrun-0.1.9/wrfrun/workspace/wrf.py +121 -0
  62. wrfrun-0.1.8/wrfrun/extension/goos_sst/res/__init__.py +0 -9
  63. wrfrun-0.1.8/wrfrun/extension/littler/__init__.py +0 -1
  64. wrfrun-0.1.8/wrfrun/model/__init__.py +0 -7
  65. wrfrun-0.1.8/wrfrun/model/plot.py +0 -54
  66. wrfrun-0.1.8/wrfrun/model/wrf/__init__.py +0 -6
  67. wrfrun-0.1.8/wrfrun/model/wrf/_ndown.py +0 -39
  68. wrfrun-0.1.8/wrfrun/model/wrf/exec_wrap.py +0 -101
  69. wrfrun-0.1.8/wrfrun/model/wrf/plot.py +0 -158
  70. wrfrun-0.1.8/wrfrun/pbs.py +0 -86
  71. wrfrun-0.1.8/wrfrun/res/__init__.py +0 -22
  72. wrfrun-0.1.8/wrfrun/res/config.yaml.template +0 -213
  73. wrfrun-0.1.8/wrfrun/res/name_map.json +0 -18
  74. wrfrun-0.1.8/wrfrun/res/run.sh.template +0 -16
  75. wrfrun-0.1.8/wrfrun/workspace.py +0 -88
  76. {wrfrun-0.1.8 → wrfrun-0.1.9}/.gitattributes +0 -0
  77. {wrfrun-0.1.8 → wrfrun-0.1.9}/LICENSE +0 -0
  78. {wrfrun-0.1.8 → wrfrun-0.1.9}/README.md +0 -0
  79. {wrfrun-0.1.8 → wrfrun-0.1.9}/build.sh +0 -0
  80. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/__init__.py +0 -0
  81. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/core/__init__.py +0 -0
  82. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/core/error.py +0 -0
  83. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/core/meson.build +0 -0
  84. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/data.py +0 -0
  85. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/extension/__init__.py +0 -0
  86. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/extension/goos_sst/README.md +0 -0
  87. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/extension/goos_sst/meson.build +0 -0
  88. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/extension/goos_sst/res/meson.build +0 -0
  89. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/extension/littler/README.md +0 -0
  90. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/extension/meson.build +0 -0
  91. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/extension/micaps/README.md +0 -0
  92. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/model/base.py +0 -0
  93. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/model/meson.build +0 -0
  94. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/model/wrf/geodata.py +0 -0
  95. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/model/wrf/scheme.py +0 -0
  96. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/plot/__init__.py +0 -0
  97. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/plot/meson.build +0 -0
  98. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/plot/wps.py +0 -0
  99. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/res/README.md +0 -0
  100. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/res/extension/meson.build +0 -0
  101. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/res/extension/name_map.json +0 -0
  102. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/res/extension/plotgrids.ncl +0 -0
  103. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/res/namelist/meson.build +0 -0
  104. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/res/namelist/name_map.json +0 -0
  105. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/res/namelist/namelist.input.da_wrfvar.template +0 -0
  106. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/res/namelist/namelist.input.dfi.template +0 -0
  107. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/res/namelist/namelist.input.real.template +0 -0
  108. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/res/namelist/namelist.input.wrf.template +0 -0
  109. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/res/namelist/namelist.wps.template +0 -0
  110. {wrfrun-0.1.8 → wrfrun-0.1.9}/wrfrun/res/namelist/parame.in.template +0 -0
@@ -11,6 +11,7 @@ wrfrun.egg-info/
11
11
  data/
12
12
  docs/build
13
13
  docs/source/api/generated/
14
+ .venv/
14
15
 
15
16
  **/*.1
16
17
  **/*.input_step1
@@ -20,6 +21,4 @@ docs/source/api/generated/
20
21
  test.*
21
22
  config.yaml
22
23
  main.py
23
- .python-version
24
- uv.lock
25
24
  namelist.*
@@ -0,0 +1 @@
1
+ 3.11
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wrfrun
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: wrfrun is a comprehensive toolkit for managing and using WRF
5
5
  Keywords: WRF
6
6
  Author-Email: Syize <syizeliu@gmail.com>
@@ -11,7 +11,7 @@ Project-URL: repository, https://github.com/Syize/wrfrun
11
11
  Project-URL: documentation, https://wrfrun.syize.cn
12
12
  Project-URL: Bug Tracker, https://github.com/Syize/wrfrun/issues
13
13
  Requires-Python: >=3.10
14
- Requires-Dist: numpy<2.0.0
14
+ Requires-Dist: numpy
15
15
  Requires-Dist: xarray
16
16
  Requires-Dist: netCDF4
17
17
  Requires-Dist: rich
@@ -24,6 +24,7 @@ Requires-Dist: wrf-python
24
24
  Requires-Dist: cfgrib
25
25
  Requires-Dist: tomli
26
26
  Requires-Dist: tomli-w
27
+ Requires-Dist: haversine
27
28
  Description-Content-Type: text/markdown
28
29
 
29
30
  # wrfrun: A toolkit to control WRF
@@ -1,7 +1,7 @@
1
1
  project(
2
2
  'wrfrun',
3
3
  'c',
4
- version: '0.1.8',
4
+ version: '0.1.9',
5
5
  license: 'BSD-3',
6
6
  meson_version: '>=0.64.0',
7
7
  default_options: ['warning_level=2'],
@@ -4,7 +4,7 @@ requires = ["meson-python"]
4
4
 
5
5
  [project]
6
6
  name = "wrfrun"
7
- version = "0.1.8"
7
+ version = "0.1.9"
8
8
  readme = "README.md"
9
9
  license = { text = "GPL-3.0-or-later" }
10
10
  requires-python = '>=3.10'
@@ -15,7 +15,7 @@ maintainers = [
15
15
  keywords = [ "WRF", ]
16
16
  description = "wrfrun is a comprehensive toolkit for managing and using WRF"
17
17
  dependencies = [
18
- "numpy<2.0.0",
18
+ "numpy",
19
19
  "xarray",
20
20
  "netCDF4",
21
21
  "rich",
@@ -27,7 +27,8 @@ dependencies = [
27
27
  "wrf-python",
28
28
  "cfgrib",
29
29
  "tomli",
30
- "tomli-w"
30
+ "tomli-w",
31
+ "haversine"
31
32
  ]
32
33
 
33
34
  [project.urls]
@@ -36,5 +37,20 @@ repository = "https://github.com/Syize/wrfrun"
36
37
  documentation = "https://wrfrun.syize.cn"
37
38
  "Bug Tracker" = "https://github.com/Syize/wrfrun/issues"
38
39
 
40
+ [project.scripts]
41
+ wrfrun = "wrfrun.cli:main_entry"
42
+
39
43
  [tool.poetry]
40
44
  readme = "README.md"
45
+
46
+ [tool.uv.extra-build-dependencies]
47
+ wrf-python = ["numpy"]
48
+
49
+ [dependency-groups]
50
+ dev = [
51
+ "pydata-sphinx-theme",
52
+ "sphinx-copybutton",
53
+ "sphinx-design",
54
+ "meson-python",
55
+ "sphinx-autobuild",
56
+ ]