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.
 
 
조창제 af14c5a482 업데이트 'README.md' 1 year ago
bathy_smoother update 1 year ago
examples update 1 year ago
pyroms update 1 year ago
pyroms_toolbox update 1 year ago
.gitignore 파일 업로드 '' 1 year ago
LICENSE.txt update 1 year ago
README.md 업데이트 'README.md' 1 year ago
Troubles update 1 year ago
pyinstall.py update 1 year ago

README.md

Pyroms

요구조건

설치 명령어

$ 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'

참고 :