[Met_help] [rt.rap.ucar.edu #92476] History for Ncview Issue in Tutorial
John Halley Gotway via RT
met_help at ucar.edu
Fri Oct 11 16:21:29 MDT 2019
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Good afternoon,
Trying to run ncview via the docket container on windows 10 and I’m getting an error stating “can’t open display” and was wondering how one might get it to open properly. Thanks for the help!
Respectfully,
Andrew
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: Ncview Issue in Tutorial
From: John Halley Gotway
Time: Mon Oct 07 12:40:29 2019
Andrew,
Ah yes, forwarding the display on a Windows 10 machine via a Docker
container is an issue. We have another project in the DTC where we
provide
a tutorial of doing end-to-end Numerical Weather Prediction modelling
using
Docker containers (WRF, GSI, UPP, NCL, MET, and METviewer):
https://dtcenter.org/community-code/numerical-weather-prediction-nwp-
containers/tutorial-version-3
And having trouble forwarding the display has come up in that context
as
well. Unfortunately, I don't have a good solution for you. Some
Googling
reveals that there may be ways of solving this, but there's just no
general-purpose, foolproof way of doing so... at least that I'm aware
of.
Here's two workarounds...
(1) The tutorial instructions tell you to map a local drive from your
machine into the container:
docker run --rm -it -v
${MET_TUTORIAL_DIR}/tutorial:/met/met-8.1/tutorial dtcenter/met:8.1
/bin/bash
That means that the output files you're generating should be
accessible on
your local machine in ${MET_TUTORIAL_DIR}/tutorial.
If there's some way of getting ncview on your Windows10 machine, you
could
run those commands there. But I have no idea if that is possible.
(2) You could also run MET's plot_data_plane tool to visualize gridded
NetCDF output. For example, on this page:
https://dtcenter.org/met-online-tutorial-metv8-0/grid-processing-
tools/pcp-combine/output
Run:
*plot_data_plane \*
*$MET_TUTORIAL_DATA/output/pcp_combine/sample_fcst_24L_2005080800V_12A.nc
\*
*$MET_TUTORIAL_DATA/output/pcp_combine/sample_fcst_24L_2005080800V_12A.ps
\*
*'name="APCP_12"; level="(*,*)";'*
And then via that PostScript file on your Windows10 machine instead.
John
On Mon, Oct 7, 2019 at 11:32 AM akobular at gmail.com via RT
<met_help at ucar.edu>
wrote:
>
> Mon Oct 07 11:31:34 2019: Request 92476 was acted upon.
> Transaction: Ticket created by akobular at gmail.com
> Queue: met_help
> Subject: Ncview Issue in Tutorial
> Owner: Nobody
> Requestors: akobular at gmail.com
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=92476 >
>
>
> Good afternoon,
>
> Trying to run ncview via the docket container on windows 10 and I’m
> getting an error stating “can’t open display” and was wondering how
one
> might get it to open properly. Thanks for the help!
>
> Respectfully,
>
> Andrew
>
>
------------------------------------------------
More information about the Met_help
mailing list