Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate tidal boundaries #7

Open
1 of 2 tasks
jpolton opened this issue May 12, 2021 · 6 comments
Open
1 of 2 tasks

Generate tidal boundaries #7

jpolton opened this issue May 12, 2021 · 6 comments
Assignees
Labels
documentation Improvements or additions to documentation technical technical work

Comments

@jpolton
Copy link

jpolton commented May 12, 2021

Generate tidal boundary forcing as harmonic files using FES2014 data and the PyNEMO tool.

  1. Compile PyNEMO (ideally on Archer2, otherwise livljobs)
  2. Set up namelists
  3. get necessary input files together
  4. run and generate netcdf files of boundary harmonics

Acceptance criteria:

  • Description in the wiki
  • Any new scripts in SCRIPTS
@jpolton jpolton self-assigned this May 12, 2021
@jpolton jpolton added technical technical work documentation Improvements or additions to documentation labels May 12, 2021
@jpolton
Copy link
Author

jpolton commented May 26, 2021

The wiki for installing PyNEMO and generating tidal boundaries is complete and tested.

Over to @mpayopayo for testing/bug-squashing/improving.

There are no scripts for this. It is all in the wiki at present as it was my first iteration of the new PyNEMO.

@mpayopayo
Copy link
Collaborator

mpayopayo commented May 28, 2021

@jpolton I'm struggling to install PyNEMO.

# clone the configuration repository
cd /work/$USER # or wherever you want to do this
git clone https://github.com/JMMP-Group/SEVERN-SWOT.git

# clone the PyNEMO repository
git clone https://github.com/NOC-MSM/PyNEMO.git
cd PyNEMO
git checkout IMMERSE
module load anaconda/3-5.1.0
conda env create -f pynemo_37.yml
conda activate pynemo3

and I get:
image
so I follow that and go with

echo ". /packages/lmodmodules/apps/anaconda/3-5.1.0/etc/profile.d/conda.sh" >> ~/.bashrc
echo "conda activate" >> ~/.bashrc

Now at the bottom of my ~/.bashr reads:
image
try to activate again but still not happy and I'm getting the same error:

conda activate pynemo3

image

any suggestion?

SORTED: it's source activate pynemo3 and not conda activate pynemo3. Changing that in the wiki

@mpayopayo
Copy link
Collaborator

@jpolton I don't have permission for /projectsa/accord/SANH_jenjar/CMEMS_SANH/CMEMS_subdomain_coordinates.nc or any /projectsa/accord/SANH_jenjar/CMEMS_SANH/TEST_pynemo3/
Could you please change that?

@jpolton
Copy link
Author

jpolton commented Jun 7, 2021

@jpolton I don't have permission for /projectsa/accord/SANH_jenjar/CMEMS_SANH/CMEMS_subdomain_coordinates.nc or any /projectsa/accord/SANH_jenjar/CMEMS_SANH/TEST_pynemo3/
Could you please change that?

I've sent an email to NOC IT to address this.

@jpolton
Copy link
Author

jpolton commented Jun 7, 2021

@jpolton I'm struggling to install PyNEMO.

# clone the configuration repository
cd /work/$USER # or wherever you want to do this
git clone https://github.com/JMMP-Group/SEVERN-SWOT.git

# clone the PyNEMO repository
git clone https://github.com/NOC-MSM/PyNEMO.git
cd PyNEMO
git checkout IMMERSE
module load anaconda/3-5.1.0
conda env create -f pynemo_37.yml
conda activate pynemo3

and I get:
image
so I follow that and go with

echo ". /packages/lmodmodules/apps/anaconda/3-5.1.0/etc/profile.d/conda.sh" >> ~/.bashrc
echo "conda activate" >> ~/.bashrc

Now at the bottom of my ~/.bashr reads:
image
try to activate again but still not happy and I'm getting the same error:

conda activate pynemo3

image

any suggestion?

SORTED: it's source activate pynemo3 and not conda activate pynemo3. Changing that in the wiki

My suspicion that if you remove activate conda from .bashrc then conda activate pynemo3 would work. Maybe...

@mpayopayo
Copy link
Collaborator

It does work when I do source activate pynemo3 instead of conda activate pynemo3 so I changed the wiki accordingly. There was no activate conda in .bashrc anyway ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation technical technical work
Projects
None yet
Development

No branches or pull requests

2 participants