NCAR / WRF_DOCKER

WPS and WRF docker container, GNU MPI Build and Run
54 stars 30 forks source link

Fail download nclncarg #5

Open DayannaArce opened 3 years ago

DayannaArce commented 3 years ago

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 commented 2 years ago

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 commented 2 years ago

I find this other link :

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

khalidtijani commented 2 years ago

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 commented 2 years ago

@khalidtijani Thanks for the suggested work around 👍

davegill commented 2 years ago

@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 commented 2 years ago

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

elcintan commented 2 years ago

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