What Is the Best Way to Download Files From the Ftp Server
Context
1 of the data access services to download Copernicus Marine Products is the File Transfer Protocol (FTP) which comes with a set of advantages.
FTP production endpoints are accessible direct from the Copernicus Marine DataStore (with free credentials) and it can be fetched from a various list of external FTP Client Interfaces.
💡 Copernicus Pro Tips : Since Nov. 2020, information technology is not recommended to access FTP servers from your web browser, here'southward why.
Thus, this article introduces dedicated costless-softwares :
-
Graphical User Interfaces
-
FileZilla
-
Windows Native Client
-
WinSCP
-
-
Command Line Interfaces
-
NcFTP
-
WGET
-
Command line prompt
-
-
Hybrid Interface - JupyterLab
Graphical User Interface
Both based on a Drag and Drop execution, the following two free softwares are very intuitive and simple method to quickly download important number of NetCDF files and amount of data.
FileZilla
FileZilla is a free software based only on a "Drag and Drop" execution. You lot can download it directly from the official spider web page.
Once installed, you will be in the FileZilla Source Browser, from where you can connect to FTP servers and directly download files :
-
Connect to the Host department:
nrt.cmems-du.european union
ormy.cmems-du.eu
(see their differences here) -
Insert your Copernicus Marine credentials:
username
andpassword
(or request your free account) -
Access and explore products' folders, datasets and respective netCDF files:
-
Drag and drop the file you want to download to your folder, where it volition be saved
FileZilla software is so a very intuitive way to download several netCDF files and folders and it is supported past all operating systems: Windows, iOS and Unix systems.
Born Windows FTP Client
If y'all are a Windows User and want to use its native FTP client, then this step-by-pace article should run across your needs.
WinSCP
Dedicated to Windows Operating systems, the gratuitous software WinSCP is a popular SFTP and FTP client free software.
It presents both a Graphical User Interface - similar to FileZilla - and Command line options, as explained in the official documentation.
Each interface with extensive configuration options : Commander Interface and Explorer Interface, this last i familiar to any Windows user.
For the purpose of this commodity and to access Copernicus Marine Products, we will only innovate the Explorer Interface:
-
Select the FTP file Protocol option
-
Connect to the FTP Host of interest:
nrt.cmems-du.eu
ormy.cmems-du.eu
(run across their differences here) -
Insert your Copernicus Marine credentials:
username
andcountersign
(or request your free account) -
Click on Login
-
You accept admission to the WinSCP Browser Window:
Personal computer folders on the left and Copernicus Marine FTP server on the right -
By double-clicking on a production's folder, you will have access respectively to datasets and to its NetCDF files
-
Drag and drop the file you want to download to your folder, where information technology volition exist saved
Command Line Interface
Wget
It'due south a free software package for retrieving files using HTTPs and FTP protocols.
Here nosotros volition run into the elementary prompt control line to download information from Copernicus Marine FTP Servers (NRT and MY) :
wget --user --password -o --URL
Where :
-
--username
and--password
correspond to your Copernicus Marine Credentials -
-o
is the personal folder's directory where I want to save the netCDF file -
--URL
is the FTP url for the server and file I desire to connect to
Employ Case
Let's see hither an instance of asking for the production GLOBAL_REANALYSIS_PHY_001_030
and it'southward daily dataset global-reanalysis-phy-001-030-daily
. I want to download the first day available in the timeseries (1993-01-01).
I already know how the file's name is composed from the Nomenclature section in the Production User Manual (PUM) - hither is an article nigh.
wget --user=USERNAME --password=Countersign -o "C:/mydirectory/filename.nc" "ftp://USERNAME@my.cmems-du.european union/Cadre/GLOBAL_REANALYSIS_PHY_001_030/global-reanalysis-phy-001-030-daily/1993/01/mercatorglorys12v1_gl12_mean_19930101_R19930106.nc"
Control line prompt
[To be completed]
It is besides possible to directly have admission to the FTP server and download data, from your machine's prompt.
Here following some uncomplicated steps and commands to use for this purpose :
-
Launch the command
ftp
-
Choose the server yous need to connect to :
open nrt.cmems-du.european union
-
Follow the instructions and insert Copernicus Marine
username
andpassword
-
Move to the main directory, where all products are listed :
cd Cadre
-
Read the product's folders :
dir
If you need the exhaustive listing of command, you can also call the control help
:
NcFTP
Coming soon
Hybrid Interface - JupyterLab
JupyterLab is a complimentary and open-source web awarding that allows to create and share documents that incorporate live code, equations, visualizations and narrative text, from your favorite web browser (Mozilla Firefox, Google Chrome, Opera, Microsoft Edge, Brave etc...).
The Copernicus Marine JupyterHub (powered past WEkEO) allows users to access an interactive data scientific discipline and scientific computing environs for usages such as data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more.
Of class, it is also possible to interact with information hosted on Copernicus Marine FTP server:
💡 Copernicus Pro Tips: To illustrate this employ example, nosotros will write a step-by-pace article that shows how to interactively fetch marine data from the MultiYear (MY) Copernicus Marine FTP server [Coming soon].
Feel complimentary to share your feedback with u.s.!
If you are facing any consequence about whatever step of this article, then experience costless to contact united states of america:
-
through a conversation session available in the bottom correct corner of the folio
-
via our contact webpage
-
via e-mail to our support squad (servicedesk.cmemsATmercator-bounding main.eu)
DOWNLOAD HERE
Posted by: stewardsuffecor.blogspot.com