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

Fail download nclncarg #5

Open
DayannaArce opened this issue Sep 20, 2021 · 7 comments
Open

Fail download nclncarg #5

DayannaArce opened this issue Sep 20, 2021 · 7 comments

Comments

@DayannaArce
Copy link

Hello,

I'm trying to install the WRF-DOCKER. I am having issues with the ncl download link. Is this link ok? or should I use a different one instead.

Regards,

Dayanna Arce from Costa Rica

executor failed running [/bin/sh -c curl -SL https://ral.ucar.edu/sites/default/files/public/projects/ncar-docker-wrf/nclncarg-6.3.0.linuxcentos7.0x8664nodapgcc482.tar.gz | tar zxC /usr/local]: exit code: 2

@khalidtijani
Copy link

Same problem, any solution

=> ERROR [19/39] RUN curl -SL https://ral.ucar.edu/sites/default/files/public/projects/ncar-docker-wrf/nclncarg- 4.5s

[19/39] RUN curl -SL https://ral.ucar.edu/sites/default/files/public/projects/ncar-docker-wrf/nclncarg-6.3.0.linuxcentos7.0x8664nodapgcc482.tar.gz | tar zxC /usr/local:
#22 0.379 % Total % Received % Xferd Average Speed Time Time Time Current
#22 0.379 Dload Upload Total Spent Left Speed
100 30623 0 30623 0 0 7464 0 --:--:-- 0:00:04 --:--:-- 7465
#22 4.487
#22 4.487 gzip: stdin: not in gzip format
#22 4.489 tar: Child returned status 1
#22 4.489 tar: Error is not recoverable: exiting now


executor failed running [/bin/sh -c curl -SL https://ral.ucar.edu/sites/default/files/public/projects/ncar-docker-wrf/nclncarg-6.3.0.linuxcentos7.0x8664nodapgcc482.tar.gz | tar zxC /usr/local]: exit code: 2

@khalidtijani
Copy link

khalidtijani commented Sep 25, 2021

@khalidtijani
Copy link

khalidtijani commented Sep 25, 2021

To change in dockerfile from line 90-92

Download NCL

RUN curl -SL https://ral.ucar.edu/sites/default/files/public/projects/ncar-docker-wrf/nclncarg-6.3.0.linuxcentos7.0x8664nodapgcc482.tar.gz | tar zxC /usr/local
ENV NCARG_ROOT /usr/local

with command below:

Download NCL

RUN mkdir -p /wrf/ncl_ncarg
RUN chmod 6755 /wrf/ncl_ncarg
RUN cd /wrf/ncl_ncarg \
&& curl -L -O https://www.earthsystemgrid.org/api/v1/dataset/ncl.630.1/file/ncl_ncarg-6.3.0.Linux_CentOS7.0_x86_64_nodap_gcc482.tar.gz \
&& tar -xzvf ncl_ncarg-6.3.0.Linux_CentOS7.0_x86_64_nodap_gcc482.tar.gz --directory /usr/local \
&& rm -rf ncl_ncarg-6.3.0.Linux_CentOS7.0_x86_64_nodap_gcc482.tar.gz \
&& cd / \
&& rm -rf /wrf/ncl_ncarg
ENV NCARG_ROOT /usr/local

@devdattakulkarni
Copy link

@khalidtijani Thanks for the suggested work around 👍

@davegill
Copy link
Contributor

@devdattakulkarni
The more recent version is github.com/davegill/wrf-coop. Take a look at the README.md. Make sure you are on the regression+feature branch. The initial dockerfile is Dockerfile-first_part. This is stored on dockerhub. Take a look at Dockerfile-second_part. We pull in the standard "all but WRF" image, add WRF to it, and then you can do things. There is a README.build_WRF+WPS.md that describes how to make the build include all of the WRF system.

@devdattakulkarni
Copy link

@davegill 👍
Thanks for the heads up. I will check above links.

@elcintan
Copy link

Thank you very much for your time @davegill
It works without any problem :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants