In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "how to use NCL under Windows". The explanation in this article is simple and clear, easy to learn and understand. Please follow the ideas of Xiaobian and go deep into it slowly to study and learn "how to use NCL under Windows" together!
NCL is a software commonly used in meteorological and oceanographic mapping. It is specially designed for processing meteorological and oceanographic data, so it has high efficiency in processing both types of data. At the same time, with the optimization of multiple versions of NCL, NCL provides a large number of excellent functions to help users quickly familiarize themselves with and use statistical methods commonly used in meteorology and oceanography. Although NCL is now moving to Python, NCL will not be obsolete for a short time.
NCL runs primarily under Linux. Now, everyone runs NCL under Windows, which is currently divided into three main methods:
(1)cywin(2) virtual machine (3)WSL(Windows Subsystem for Linux).
Today, I will introduce NCL installation under WSL.
WSL
!!! The system must be win10 with win10 version number 1709 and build 16299. If you keep updating win10 in a timely manner, don't worry you can install it.
Control Panel-> Programs-> Turn Windows features on or off Turn Windows subsystem options for Linux on, OK
Search ubuntu in Microsoft Store, recommend choosing version 18.04 or above (I installed version 18.04)
click the Start
After waiting for a while, enter your username and password
Use sequentially (repeat several times until all are no longer updated)
sudo apt-get update sudo apt-get upgrade
Upgrade the system using the set password as follows, download complete
Tips: If the download speed is slow, it is recommended to change the download source.
The method is as follows:
https://blog.csdn.net/Dolphinsz/article/details/81217424
NCL Method 1
Simple and convenient, but the NCL version is relatively backward, the current version may be 6.4.0 (the latest version is 6.6.2)
sudo apt install ncl-ncarg
Method 2 Download the NCL6.6.0 installation package and unzip it directly. Because it is operating under the Windows interface, you can directly use the decompression software to decompress directly and put it into a designated folder. As shown below:
In the root directory, find the.bashrc file (directly cd can enter the folder), edit, add the following path to the file.# NCLexport NCARG_ROOT=/mnt/f/Linux/NCL export PATH=$NCARG_ROOT/bin:$PATHexport DISPLAY=:0.0
Tips: Pay attention to modifying the path
Exit the WSL interface and restart. Enter ncl. If the following figure appears, it means success.
If so, the following question
After using the following command, proceed to the previous test. su do apt-get ins tall libgfortran3
Then you have a stable NCL. You can always find the NCL directory when running under Windows. If a version has bugs in drawing or calculation, you can replace the NCL file directly, which is convenient and fast.
Thank you for reading, the above is "how to use NCL under Windows" content, after the study of this article, I believe we have a deeper understanding of how to use NCL under Windows, the specific use of the situation also needs to be verified by practice. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.