Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Installing data sets on another platform

prasanna

Prasanna Kanti Ghoshal
Member
I am new in MOM6 Model. I am facing some problems described below.

1. How can I construct my own datasets directory that the link .datasets points to by downloading and unpacking each of the tar files at ftp://ftp.gfdl.noaa.gov /perm/Alistair.Adcroft/MOM6-testing/ into my own central location and linking .datasets to that location?

2. No tar files are downloading from the above link.

3. How to set up compile environment?
 

cermak

Rob Cermak
Member
What platform are you on? Linux? Windows? Mac?

For Linux, I would recommend using lftp.

$ lftp ftp://ftp.gfdl.noaa.gov/perm/Alistair.Adcroft/MOM6-testing

cd ok, cwd=/perm/Alistair.Adcroft/MOM6-testing
lftp ftp.gfdl.noaa.gov:/perm/Alistair.Adcroft/MOM6-testing> ls
-rw-r--r-- 1 8061 79 3356794780 Dec 18 2018 AM2_LM3_MOM6i_1deg.tgz
-rw-r--r-- 1 8061 79 1064679 Dec 18 2018 Baltic_OM4_025.tgz
-rw-r--r-- 1 8061 79 239346 Dec 18 2018 Baltic_OM4_05.tgz
-rw-r--r-- 1 8061 79 7872017573 Dec 18 2018 CM2G63L.tgz
-rw-r--r-- 1 8061 79 894842510 Dec 18 2018 CORE.tgz
-rw-r--r-- 1 8061 79 740673699 Dec 18 2018 global.tgz
-rw-r--r-- 1 8061 79 129131001 Dec 18 2018 GOLD_SIS_025.tgz
-rw-r--r-- 1 8061 79 1016438131 Dec 18 2018 GOLD_SIS.tgz
-rw-r--r-- 1 8061 79 151684209 Dec 18 2018 MESO_025_23L.tgz
-rw-r--r-- 1 8061 79 601352754 Dec 18 2018 MESO_025_63L.tgz
-rw-r--r-- 1 8061 79 100455 Dec 18 2018 MOM6_SIS_icebergs.tgz
-rw-r--r-- 1 8061 79 84135263 Dec 18 2018 obs.tgz
-rw-r--r-- 1 8061 79 1058331974 Dec 18 2018 obs.woa13.tgz
drwxrwxr-x 2 8061 79 4096 Aug 21 2020 OM4_025
-rw-r--r-- 1 8061 79 421212984 Sep 17 2019 OM4_025.tgz
-rw-r--r-- 1 8061 79 323578402 Dec 18 2018 OM4_025.tgz.old
drwxrwxr-x 2 8061 79 4096 Dec 18 2018 OM4_05
-rw-r--r-- 1 8061 79 89046853 Dec 18 2018 OM4_05.tgz
-rw-r--r-- 1 8061 79 1056624578 Dec 18 2018 OM4_360x320_C180.tgz
-rw-r--r-- 1 8061 79 12382889092 Aug 15 2019 reanalysis.tgz
lftp ftp.gfdl.noaa.gov:/perm/Alistair.Adcroft/MOM6-testing> get Baltic_OM4_05.tgz
239346 bytes transferred in 2 seconds (132.9 KiB/s)

Package: lftp
Version: 4.8.4-2build3
Priority: optional
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Noël Köthe <noel@debian.org>
Bugs: OpenID transaction in progress
Installed-Size: 1,700 kB
Depends: libc6 (>= 2.27), libgnutls30 (>= 3.6.6), libidn2-0 (>= 2.0.0), libreadline8 (>= 6.0), libstdc++6 (>= 5), libtinfo6 (>= 6), zlib1g (>= 1:1.1.4), netbase
Recommends: ssh-client | openssh-client
Homepage: LFTP - sophisticated file transfer program
Download-Size: 563 kB
APT-Manual-Installed: yes
APT-Sources: Index of /ubuntu focal/main amd64 Packages
Description: Sophisticated command-line FTP/HTTP/BitTorrent client programs
Lftp is a file retrieving tool that supports FTP, HTTP, FISH, SFTP, HTTPS,
FTPS and BitTorrent protocols under both IPv4 and IPv6. Lftp has an amazing
set of features, while preserving its interface as simple and easy as possible.
.
The main two advantages over other ftp clients are reliability and ability
to perform tasks in background. It will reconnect and reget the file being
transferred if the connection broke. You can start a transfer in background
and continue browsing on the ftp site. It does this all in one process. When
you have started background jobs and feel you are done, you can just exit
lftp and it automatically moves to nohup mode and completes the transfers.
It has also such nice features as reput and mirror. It can also download a
file as soon as possible by using several connections at the same time.
.
Lftp can also be scriptable, it can be used to mirror sites, it lets you
copy files among remote servers (even between FTP and HTTP). It has an
extensive online help. It supports bookmarks, and connecting to several
ftp/http sites at the same time.
.
This package also includes lftpget - A simple non-interactive
tool for downloading files.
 

cermak

Rob Cermak
Member
For MacOSX, I just tried Cyberduck and it was also able to download from the ftp site. It is also available for Windows.


Compiling lftp for MacOX got too deep into the dependency tree.
 

marshallward

Marshall Ward
New Member
Several GFDL computers were down for maintenance this week, which may have included the FTP servers, but they should be back up now.

Following on Rob's comment, I have heard that many browsers also no longer support FTP downloads. You may have better luck with one of the recommended command line tools.

(I am currently able to access the FTP downloads now via `wget`).
 

cermak

Rob Cermak
Member
To answer the last part of the question, I will assume that you have downloaded the repository following: NOAA-GFDL/MOM6-examples

For me, I have a src directory off my $HOME directory in which I have downloaded MOM6-examples:

/home/cermak/src/MOM6-examples

Let us look at one particular example: ./ice_ocean_SIS2/Baltic_OM4_05/INPUT

The full path is : /home/cermak/src/MOM6-examples/ice_ocean_SIS2/Baltic_OM4_05/INPUT

$ ls -la .datasets
lrwxrwxrwx 1 cermak staff 18 Jun 19 20:37 .datasets -> ../../../.datasets

If you follow those .. back three times, we get back to /home/cermak/src/MOM6-examples. At this
point you have two options.

Option A: Within /home/cermak/src/MOM6-examples, make a directory .datasets and expand all the downloaded datasets/files in that directory (space permitting).

Option B: Create a symbolic link from .datasets to a storage location (and directory) large enough to store the downloaded datasets.

For a demonstration of option B, I will go back to $HOME (/home/cermak) and create a datasets directory.

$ cd $HOME
$ mkdir datasets
$ cd datasets
$ wget ftp://ftp.gfdl.noaa.gov/perm/Alistair.Adcroft/MOM6-testing/Baltic_OM4_05.tgz
$ tar xzf Baltic_OM4_05.tgz

Now within the "datasets" directory, I have the Baltic_OM4_05 directory we need for our INPUT
to the above example.

$ ls
Baltic_OM4_05 Baltic_OM4_05.tgz

At this point, we now have to establish a symbolic link my storage location for the datasets.

$ cd /home/cermak/src/MOM6-examples
# DON'T FORGET THE PERIOD...
$ ln -s /home/cermak/datasets .datasets


# Check our work
$ cd /home/cermak/src/MOM6-examples/ice_ocean_SIS2/Baltic_OM4_05/INPUT
$ ncdump -h ocean_hgrid.nc
Code:
netcdf ocean_hgrid {
dimensions:
    nyp = 107 ;
    nxp = 99 ;
    ny = 106 ;
    nx = 98 ;
    string = 255 ;
variables:
    double angle_dx(nyp, nxp) ;
        angle_dx:units = "degrees" ;
    double area(ny, nx) ;
        area:units = "m2" ;
    double dx(nyp, nx) ;
        dx:units = "meters" ;
    double dy(ny, nxp) ;
        dy:units = "meters" ;
    char tile(string) ;
    double x(nyp, nxp) ;
        x:units = "degrees" ;
    double y(nyp, nxp) ;
        y:units = "degrees" ;


// global attributes:
        :history = "Fri Nov 18 20:50:33 2016: ncks -O -d nx,1224,1321 -d ny,820,925 -d nxp,1224,1322 -d nyp,820,926 /local2/home/inputs/MOM6_datasets/OM4_05/mosaic.v20151203.unpacked/ocean_hgrid.nc ocean_hgrid.nc" ;
        :NCO = "4.0.3" ;
}

There are other parts to that example problem that will also need to be downloaded.

Once all the datasets are in place, things should follow fairly closely to the MOM6-examples wiki. The "Compiling the models" section to getting started is a great place to begin setting up the compile environment. See: NOAA-GFDL/MOM6-examples
 

prasanna

Prasanna Kanti Ghoshal
Member
What platform are you on? Linux? Windows? Mac?

For Linux, I would recommend using lftp.

$ lftp ftp://ftp.gfdl.noaa.gov/perm/Alistair.Adcroft/MOM6-testing

cd ok, cwd=/perm/Alistair.Adcroft/MOM6-testing
lftp ftp.gfdl.noaa.gov:/perm/Alistair.Adcroft/MOM6-testing> ls
-rw-r--r-- 1 8061 79 3356794780 Dec 18 2018 AM2_LM3_MOM6i_1deg.tgz
-rw-r--r-- 1 8061 79 1064679 Dec 18 2018 Baltic_OM4_025.tgz
-rw-r--r-- 1 8061 79 239346 Dec 18 2018 Baltic_OM4_05.tgz
-rw-r--r-- 1 8061 79 7872017573 Dec 18 2018 CM2G63L.tgz
-rw-r--r-- 1 8061 79 894842510 Dec 18 2018 CORE.tgz
-rw-r--r-- 1 8061 79 740673699 Dec 18 2018 global.tgz
-rw-r--r-- 1 8061 79 129131001 Dec 18 2018 GOLD_SIS_025.tgz
-rw-r--r-- 1 8061 79 1016438131 Dec 18 2018 GOLD_SIS.tgz
-rw-r--r-- 1 8061 79 151684209 Dec 18 2018 MESO_025_23L.tgz
-rw-r--r-- 1 8061 79 601352754 Dec 18 2018 MESO_025_63L.tgz
-rw-r--r-- 1 8061 79 100455 Dec 18 2018 MOM6_SIS_icebergs.tgz
-rw-r--r-- 1 8061 79 84135263 Dec 18 2018 obs.tgz
-rw-r--r-- 1 8061 79 1058331974 Dec 18 2018 obs.woa13.tgz
drwxrwxr-x 2 8061 79 4096 Aug 21 2020 OM4_025
-rw-r--r-- 1 8061 79 421212984 Sep 17 2019 OM4_025.tgz
-rw-r--r-- 1 8061 79 323578402 Dec 18 2018 OM4_025.tgz.old
drwxrwxr-x 2 8061 79 4096 Dec 18 2018 OM4_05
-rw-r--r-- 1 8061 79 89046853 Dec 18 2018 OM4_05.tgz
-rw-r--r-- 1 8061 79 1056624578 Dec 18 2018 OM4_360x320_C180.tgz
-rw-r--r-- 1 8061 79 12382889092 Aug 15 2019 reanalysis.tgz
lftp ftp.gfdl.noaa.gov:/perm/Alistair.Adcroft/MOM6-testing> get Baltic_OM4_05.tgz
239346 bytes transferred in 2 seconds (132.9 KiB/s)

Package: lftp
Version: 4.8.4-2build3
Priority: optional
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Noël Köthe <noel@debian.org>
Bugs: OpenID transaction in progress
Installed-Size: 1,700 kB
Depends: libc6 (>= 2.27), libgnutls30 (>= 3.6.6), libidn2-0 (>= 2.0.0), libreadline8 (>= 6.0), libstdc++6 (>= 5), libtinfo6 (>= 6), zlib1g (>= 1:1.1.4), netbase
Recommends: ssh-client | openssh-client
Homepage: LFTP - sophisticated file transfer program
Download-Size: 563 kB
APT-Manual-Installed: yes
APT-Sources: Index of /ubuntu focal/main amd64 Packages
Description: Sophisticated command-line FTP/HTTP/BitTorrent client programs
Lftp is a file retrieving tool that supports FTP, HTTP, FISH, SFTP, HTTPS,
FTPS and BitTorrent protocols under both IPv4 and IPv6. Lftp has an amazing
set of features, while preserving its interface as simple and easy as possible.
.
The main two advantages over other ftp clients are reliability and ability
to perform tasks in background. It will reconnect and reget the file being
transferred if the connection broke. You can start a transfer in background
and continue browsing on the ftp site. It does this all in one process. When
you have started background jobs and feel you are done, you can just exit
lftp and it automatically moves to nohup mode and completes the transfers.
It has also such nice features as reput and mirror. It can also download a
file as soon as possible by using several connections at the same time.
.
Lftp can also be scriptable, it can be used to mirror sites, it lets you
copy files among remote servers (even between FTP and HTTP). It has an
extensive online help. It supports bookmarks, and connecting to several
ftp/http sites at the same time.
.
This package also includes lftpget - A simple non-interactive
tool for downloading files.
I am using Linux..
 

prasanna

Prasanna Kanti Ghoshal
Member
To answer the last part of the question, I will assume that you have downloaded the repository following: NOAA-GFDL/MOM6-examples

For me, I have a src directory off my $HOME directory in which I have downloaded MOM6-examples:

/home/cermak/src/MOM6-examples

Let us look at one particular example: ./ice_ocean_SIS2/Baltic_OM4_05/INPUT

The full path is : /home/cermak/src/MOM6-examples/ice_ocean_SIS2/Baltic_OM4_05/INPUT

$ ls -la .datasets
lrwxrwxrwx 1 cermak staff 18 Jun 19 20:37 .datasets -> ../../../.datasets

If you follow those .. back three times, we get back to /home/cermak/src/MOM6-examples. At this
point you have two options.

Option A: Within /home/cermak/src/MOM6-examples, make a directory .datasets and expand all the downloaded datasets/files in that directory (space permitting).

Option B: Create a symbolic link from .datasets to a storage location (and directory) large enough to store the downloaded datasets.

For a demonstration of option B, I will go back to $HOME (/home/cermak) and create a datasets directory.

$ cd $HOME
$ mkdir datasets
$ cd datasets
$ wget ftp://ftp.gfdl.noaa.gov/perm/Alistair.Adcroft/MOM6-testing/Baltic_OM4_05.tgz
$ tar xzf Baltic_OM4_05.tgz

Now within the "datasets" directory, I have the Baltic_OM4_05 directory we need for our INPUT
to the above example.

$ ls
Baltic_OM4_05 Baltic_OM4_05.tgz

At this point, we now have to establish a symbolic link my storage location for the datasets.

$ cd /home/cermak/src/MOM6-examples
# DON'T FORGET THE PERIOD...
$ ln -s /home/cermak/datasets .datasets


# Check our work
$ cd /home/cermak/src/MOM6-examples/ice_ocean_SIS2/Baltic_OM4_05/INPUT
$ ncdump -h ocean_hgrid.nc
Code:
netcdf ocean_hgrid {
dimensions:
    nyp = 107 ;
    nxp = 99 ;
    ny = 106 ;
    nx = 98 ;
    string = 255 ;
variables:
    double angle_dx(nyp, nxp) ;
        angle_dx:units = "degrees" ;
    double area(ny, nx) ;
        area:units = "m2" ;
    double dx(nyp, nx) ;
        dx:units = "meters" ;
    double dy(ny, nxp) ;
        dy:units = "meters" ;
    char tile(string) ;
    double x(nyp, nxp) ;
        x:units = "degrees" ;
    double y(nyp, nxp) ;
        y:units = "degrees" ;


// global attributes:
        :history = "Fri Nov 18 20:50:33 2016: ncks -O -d nx,1224,1321 -d ny,820,925 -d nxp,1224,1322 -d nyp,820,926 /local2/home/inputs/MOM6_datasets/OM4_05/mosaic.v20151203.unpacked/ocean_hgrid.nc ocean_hgrid.nc" ;
        :NCO = "4.0.3" ;
}

There are other parts to that example problem that will also need to be downloaded.

Once all the datasets are in place, things should follow fairly closely to the MOM6-examples wiki. The "Compiling the models" section to getting started is a great place to begin setting up the compile environment. See: NOAA-GFDL/MOM6-examples
Thank you...
 

prasanna

Prasanna Kanti Ghoshal
Member
To answer the last part of the question, I will assume that you have downloaded the repository following: NOAA-GFDL/MOM6-examples

For me, I have a src directory off my $HOME directory in which I have downloaded MOM6-examples:

/home/cermak/src/MOM6-examples

Let us look at one particular example: ./ice_ocean_SIS2/Baltic_OM4_05/INPUT

The full path is : /home/cermak/src/MOM6-examples/ice_ocean_SIS2/Baltic_OM4_05/INPUT

$ ls -la .datasets
lrwxrwxrwx 1 cermak staff 18 Jun 19 20:37 .datasets -> ../../../.datasets

If you follow those .. back three times, we get back to /home/cermak/src/MOM6-examples. At this
point you have two options.

Option A: Within /home/cermak/src/MOM6-examples, make a directory .datasets and expand all the downloaded datasets/files in that directory (space permitting).

Option B: Create a symbolic link from .datasets to a storage location (and directory) large enough to store the downloaded datasets.

For a demonstration of option B, I will go back to $HOME (/home/cermak) and create a datasets directory.

$ cd $HOME
$ mkdir datasets
$ cd datasets
$ wget ftp://ftp.gfdl.noaa.gov/perm/Alistair.Adcroft/MOM6-testing/Baltic_OM4_05.tgz
$ tar xzf Baltic_OM4_05.tgz

Now within the "datasets" directory, I have the Baltic_OM4_05 directory we need for our INPUT
to the above example.

$ ls
Baltic_OM4_05 Baltic_OM4_05.tgz

At this point, we now have to establish a symbolic link my storage location for the datasets.

$ cd /home/cermak/src/MOM6-examples
# DON'T FORGET THE PERIOD...
$ ln -s /home/cermak/datasets .datasets


# Check our work
$ cd /home/cermak/src/MOM6-examples/ice_ocean_SIS2/Baltic_OM4_05/INPUT
$ ncdump -h ocean_hgrid.nc
Code:
netcdf ocean_hgrid {
dimensions:
    nyp = 107 ;
    nxp = 99 ;
    ny = 106 ;
    nx = 98 ;
    string = 255 ;
variables:
    double angle_dx(nyp, nxp) ;
        angle_dx:units = "degrees" ;
    double area(ny, nx) ;
        area:units = "m2" ;
    double dx(nyp, nx) ;
        dx:units = "meters" ;
    double dy(ny, nxp) ;
        dy:units = "meters" ;
    char tile(string) ;
    double x(nyp, nxp) ;
        x:units = "degrees" ;
    double y(nyp, nxp) ;
        y:units = "degrees" ;


// global attributes:
        :history = "Fri Nov 18 20:50:33 2016: ncks -O -d nx,1224,1321 -d ny,820,925 -d nxp,1224,1322 -d nyp,820,926 /local2/home/inputs/MOM6_datasets/OM4_05/mosaic.v20151203.unpacked/ocean_hgrid.nc ocean_hgrid.nc" ;
        :NCO = "4.0.3" ;
}

There are other parts to that example problem that will also need to be downloaded.

Once all the datasets are in place, things should follow fairly closely to the MOM6-examples wiki. The "Compiling the models" section to getting started is a great place to begin setting up the compile environment. See: NOAA-GFDL/MOM6-examples
Yes , no need to assume..It is true that I have downloaded the repository following: NOAA-GFDL/MOM6-examples..
 

prasanna

Prasanna Kanti Ghoshal
Member
Several GFDL computers were down for maintenance this week, which may have included the FTP servers, but they should be back up now.

Following on Rob's comment, I have heard that many browsers also no longer support FTP downloads. You may have better luck with one of the recommended command line tools.

(I am currently able to access the FTP downloads now via `wget`).
I am trying to download using wget. But facing some problem.
 

prasanna

Prasanna Kanti Ghoshal
Member
I am trying to download using wget. But facing some problem.
Can you tell me the syntax?
I am typing in this way:
wget "ftp_link"
But this is not working.
Showing this error.
Resolving ftp.hermes.acri.fr (ftp.hermes.acri.fr)... 5.252.148.37
Connecting to ftp.hermes.acri.fr (ftp.hermes.acri.fr)|5.252.148.37|:21... connected.
Logging in as anonymous ...
Login incorrect.
 

cermak

Rob Cermak
Member
So, for wget, you have to know the structure of the FTP site. I use lftp to look at the structure. It happens to support ls -lR which is nice.

Here is the recursive listing of files in MOM6-testing:
Code:
$ lftp ftp://ftp.gfdl.noaa.gov/perm/Alistair.Adcroft/MOM6-testing
cd ok, cwd=/perm/Alistair.Adcroft/MOM6-testing                                             
lftp ftp.gfdl.noaa.gov:/perm/Alistair.Adcroft/MOM6-testing> ls
-rw-r--r--   1 8061     79       3356794780 Dec 18  2018 AM2_LM3_MOM6i_1deg.tgz
-rw-r--r--   1 8061     79        1064679 Dec 18  2018 Baltic_OM4_025.tgz
-rw-r--r--   1 8061     79         239346 Dec 18  2018 Baltic_OM4_05.tgz
-rw-r--r--   1 8061     79       7872017573 Dec 18  2018 CM2G63L.tgz
-rw-r--r--   1 8061     79       894842510 Dec 18  2018 CORE.tgz
-rw-r--r--   1 8061     79       740673699 Dec 18  2018 global.tgz
-rw-r--r--   1 8061     79       129131001 Dec 18  2018 GOLD_SIS_025.tgz
-rw-r--r--   1 8061     79       1016438131 Dec 18  2018 GOLD_SIS.tgz
drwxrwxr-x   2 8061     79           4096 Aug 28 03:24 hashed-files
-rw-r--r--   1 8061     79       151684209 Dec 18  2018 MESO_025_23L.tgz
-rw-r--r--   1 8061     79       601352754 Dec 18  2018 MESO_025_63L.tgz
-rw-r--r--   1 8061     79         100455 Dec 18  2018 MOM6_SIS_icebergs.tgz
-rw-r--r--   1 8061     79       84135263 Dec 18  2018 obs.tgz
-rw-r--r--   1 8061     79       1058331974 Dec 18  2018 obs.woa13.tgz
-rw-r--r--   1 8061     79        9337533 Aug 25 21:57 OM_1deg.tgz
drwxrwxr-x   2 8061     79           4096 Aug 21  2020 OM4_025
-rw-r--r--   1 8061     79       421212984 Sep 17  2019 OM4_025.tgz
-rw-r--r--   1 8061     79       323578402 Dec 18  2018 OM4_025.tgz.old
drwxrwxr-x   2 8061     79           4096 Dec 18  2018 OM4_05
-rw-r--r--   1 8061     79       89046853 Dec 18  2018 OM4_05.tgz
-rw-r--r--   1 8061     79       1056624578 Dec 18  2018 OM4_360x320_C180.tgz
-rw-r--r--   1 8061     79       173987410 Dec  8 22:32 reanalysis-sample.tgz
-rw-r--r--   1 8061     79       12382889092 Aug 15  2019 reanalysis.tgz
lftp ftp.gfdl.noaa.gov:/perm/Alistair.Adcroft/MOM6-testing> ls -lR
-rw-r--r--   1 8061     79       3356794780 Dec 18  2018 AM2_LM3_MOM6i_1deg.tgz
-rw-r--r--   1 8061     79        1064679 Dec 18  2018 Baltic_OM4_025.tgz
-rw-r--r--   1 8061     79         239346 Dec 18  2018 Baltic_OM4_05.tgz
-rw-r--r--   1 8061     79       7872017573 Dec 18  2018 CM2G63L.tgz
-rw-r--r--   1 8061     79       894842510 Dec 18  2018 CORE.tgz
-rw-r--r--   1 8061     79       740673699 Dec 18  2018 global.tgz
-rw-r--r--   1 8061     79       129131001 Dec 18  2018 GOLD_SIS_025.tgz
-rw-r--r--   1 8061     79       1016438131 Dec 18  2018 GOLD_SIS.tgz
drwxrwxr-x   2 8061     79           4096 Aug 28 03:24 hashed-files
-rw-r--r--   1 8061     79       151684209 Dec 18  2018 MESO_025_23L.tgz
-rw-r--r--   1 8061     79       601352754 Dec 18  2018 MESO_025_63L.tgz
-rw-r--r--   1 8061     79         100455 Dec 18  2018 MOM6_SIS_icebergs.tgz
-rw-r--r--   1 8061     79       84135263 Dec 18  2018 obs.tgz
-rw-r--r--   1 8061     79       1058331974 Dec 18  2018 obs.woa13.tgz
-rw-r--r--   1 8061     79        9337533 Aug 25 21:57 OM_1deg.tgz
drwxrwxr-x   2 8061     79           4096 Aug 21  2020 OM4_025
-rw-r--r--   1 8061     79       421212984 Sep 17  2019 OM4_025.tgz
-rw-r--r--   1 8061     79       323578402 Dec 18  2018 OM4_025.tgz.old
drwxrwxr-x   2 8061     79           4096 Dec 18  2018 OM4_05
-rw-r--r--   1 8061     79       89046853 Dec 18  2018 OM4_05.tgz
-rw-r--r--   1 8061     79       1056624578 Dec 18  2018 OM4_360x320_C180.tgz
-rw-r--r--   1 8061     79       173987410 Dec  8 22:32 reanalysis-sample.tgz
-rw-r--r--   1 8061     79       12382889092 Aug 15  2019 reanalysis.tgz

hashed-files:
-r--r--r--   1 8061     79       83743632 Aug 28 03:20 46803f1e1595e29ea527086438a58391.gz
-r--r--r--   1 8061     79       288453162 Aug 28 03:24 d266258d8d1ea2c2da906a7a44036e8a.gz
-r--r--r--   1 8061     79       400473706 Aug 28 03:29 d60a48ad1a201fd726186472507605d2.gz

OM4_025:
-rw-r--r--   1 8061     79        6241536 Mar 31  2020 basin_codes.v20140629.nc
-rw-r--r--   1 8061     79       298760500 Dec 18  2018 ocean_hgrid.nc
-rw-r--r--   1 8061     79       12458392 Dec 18  2018 ocean_mask.nc
-rw-r--r--   1 8061     79       168026444 Dec 19  2018 ocean_static.nc
-rw-r--r--   1 8061     79       24885412 Dec 18  2018 ocean_topog.nc
-r--r--r--   1 8061     79       659427020 Aug 21  2020 WOA05_ptemp_salt_annual.v20141007.nc

OM4_05:
-rw-r--r--   1 8061     79       79710004 Dec 18  2018 ocean_hgrid.nc
-rw-r--r--   1 8061     79        3334568 Dec 18  2018 ocean_mask.nc
-rw-r--r--   1 8061     79       44834900 Dec 18  2018 ocean_static.nc
-rw-r--r--   1 8061     79        8308084 Dec 18  2018 ocean_topog.nc

If I wanted the Baltic_OM4_05.tgz file, the URL for wget would be:

Code:
$ wget ftp://ftp.gfdl.noaa.gov/perm/Alistair.Adcroft/MOM6-testing/Baltic_OM4_05.tgz
--2021-12-23 06:01:47--  ftp://ftp.gfdl.noaa.gov/perm/Alistair.Adcroft/MOM6-testing/Baltic_OM4_05.tgz
           => ‘Baltic_OM4_05.tgz’
Resolving ftp.gfdl.noaa.gov (ftp.gfdl.noaa.gov)... 140.208.31.24
Connecting to ftp.gfdl.noaa.gov (ftp.gfdl.noaa.gov)|140.208.31.24|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /perm/Alistair.Adcroft/MOM6-testing ... done.
==> SIZE Baltic_OM4_05.tgz ... 239346
==> PASV ... done.    ==> RETR Baltic_OM4_05.tgz ... done.
Length: 239346 (234K) (unauthoritative)

Baltic_OM4_05.tgz                      100%[==========================================================================>] 233.74K   725KB/s    in 0.3s   

2021-12-23 06:01:49 (725 KB/s) - ‘Baltic_OM4_05.tgz’ saved [239346]

Here are the package details for lftp.

Code:
$ apt info lftp
Package: lftp
Version: 4.8.4-2build3
Priority: optional
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Noël Köthe <noel@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1,700 kB
Depends: libc6 (>= 2.27), libgnutls30 (>= 3.6.6), libidn2-0 (>= 2.0.0), libreadline8 (>= 6.0), libstdc++6 (>= 5), libtinfo6 (>= 6), zlib1g (>= 1:1.1.4), netbase
Recommends: ssh-client | openssh-client
Homepage: https://lftp.tech
Download-Size: 563 kB
APT-Manual-Installed: yes
APT-Sources: http://us-west-2.ec2.archive.ubuntu.com/ubuntu focal/main amd64 Packages
Description: Sophisticated command-line FTP/HTTP/BitTorrent client programs
 Lftp is a file retrieving tool that supports FTP, HTTP, FISH, SFTP, HTTPS,
 FTPS and BitTorrent protocols under both IPv4 and IPv6. Lftp has an amazing
 set of features, while preserving its interface as simple and easy as possible.
 .
 The main two advantages over other ftp clients are reliability and ability
 to perform tasks in background. It will reconnect and reget the file being
 transferred if the connection broke. You can start a transfer in background
 and continue browsing on the ftp site. It does this all in one process. When
 you have started background jobs and feel you are done, you can just exit
 lftp and it automatically moves to nohup mode and completes the transfers.
 It has also such nice features as reput and mirror. It can also download a
 file as soon as possible by using several connections at the same time.
 .
 Lftp can also be scriptable, it can be used to mirror sites, it lets you
 copy files among remote servers (even between FTP and HTTP). It has an
 extensive online help. It supports bookmarks, and connecting to several
 ftp/http sites at the same time.
 .
 This package also includes lftpget - A simple non-interactive
 tool for downloading files.
 

prasanna

Prasanna Kanti Ghoshal
Member
Yes sir. It is working. I have downloaded OM4_025 INPUT data. But topog.nc file is not there. I find an error as the file is not available. Is it the global topography file ?
I got this following error:

X-AXIS = 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45
45 45 45 45 45 45 45 45
Y-AXIS = 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
NOTE from PE 0: callTree: <--- set_grid_metrics_from_mosaic()
NOTE from PE 0: callTree: ---> set_derived_metrics(), MOM_grid_initialize.F90
NOTE from PE 0: callTree: <--- set_derived_metrics()
NOTE from PE 0: callTree: <--- set_grid_metrics()
NOTE from PE 0: callTree: ---> initialize_topography_from_file(), MOM_shared_initialization.F90


### FATAL from PE 328: initialize_topography_from_file: Unable to open INPUT/topog.nc
### FATAL from PE 335: initialize_topography_from_file: Unable to open INPUT/topog.nc
 

prasanna

Prasanna Kanti Ghoshal
Member
Sir,
my OM4_025 is running but the output files are not saved. Please help me what to do? Should I change the diag_table?
 

adcroft

Alistair Adcroft
Member
Yes, you should change the diag_table. The default diag_table in OM4_025 is blank to speed up testing. You should append diag_table.MOM6 into diag_table to turn on the diagnostics used in the CMIP runs. Also, the model needs to run long enough to obtain output - input.nml is set to run for just 6 hours, again for testing.
 

prasanna

Prasanna Kanti Ghoshal
Member
Yes Sir. Thank you. It is running successfully. I ran it for 5 months and got the output for SSHA.
 

prasanna

Prasanna Kanti Ghoshal
Member
Sir,
I am trying to run for my own created grid. But the following error is coming.

FATAL from PE 0: apply_topography_edits_from_file: Incompatible i-dimension of grid in INPUT/All_edits.nc
This All_edits.nc file I used for OM4_025 test case.
 

prasanna

Prasanna Kanti Ghoshal
Member
My grid is of 0.5 degree resolution. I have found that All_edits.nc is for 1degree resolution. is the file MOM_channels_global_025 is for 0.5 degree???
 
Top