You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
bathy_smoother | 1 year ago | |
examples | 1 year ago | |
pyroms | 1 year ago | |
pyroms_toolbox | 1 year ago | |
.gitignore | 1 year ago | |
LICENSE.txt | 1 year ago | |
README.md | 1 year ago | |
Troubles | 1 year ago | |
pyinstall.py | 1 year ago |
README.md
Pyroms
요구조건
- Python >= 3.4 (Python 3.8 currently recommended for new environments)
- pip
- numpy
- scipy
- matplotlib<=2.2.4
- basemap
- basemap-data-hires
- netcdf4
- nco
- esmf
- pygrib
- cftime
- lpsolve55
설치 명령어
$ conda config --add channels conda-forge
$ conda create -n pyroms python=3 ipython numpy scipy netCDF4
$ conda activate pyroms
$ conda install matplotlib=2.2.4 basemap basemap-data-hires esmf nco pygrib lpsolve55 pyproj=1.9.6
$ git clone http://203.128.184.77:3000/ducj/pyroms.git
$ pip install -e pyroms/pyroms
$ pip install -e pyroms/pyroms_toolbox
$ pip install -e pyroms/bathy_smoother
## scrip 문제 해결
$ cd pyroms/pyroms/external/scrip/source/
$ conda info | grep "active env location"
> active env location : /home/pyroms/miniconda3/envs/pyroms
$ export PREFIX=/home/pyroms/miniconda3/envs/pyroms
$ make DEVELOP=1 PREFIX=$PREFIX install
$ mv -vf scrip*.so ../../../pyroms (이슈에는 하지 않아도 된다고 함.)
제거
$ pip uninstall pyroms
$ pip uninstall pyroms_toolbox
$ pip uninstall bathy_smoother
# source directory
$ cd pyroms/pyroms/external/scrip/source/
# Remove with make.
$ make DEVELOP=1 uninstall
추가사항
error 1. python make_YELLOW_grd_v1.py
$ conda install -c conda-forge gridgen
$ find <가상환경 경로> -name '*gridgen*'
$ cd <libgridgen.so 파일 경로>
$ python
>>> import pyroms
>>> pyroms.__path__ > ['/data/qkdrk/pyroms_install/pyroms/pyroms/pyroms']
$ cp ./libgridgen.so /data/qkdrk/pyroms_install/pyroms/pyroms/pyroms'
참고 :