To start the software run the following command
SAFNWCTM
you should now see the following status message
NWC/GEO v2018
15 December 2018
Copyright 2018, EUMETSAT, All Rights Reserved
--------------------------------------------------------
Visit our web site for information and support at
http://nwc-saf.eumetsat.int
========================================================
Step 1: Remapping NWP data for the NWC/GEO
This step can take several minutes ...
Check the progress in /path/to/home/directory/safnwc/logs/safnwctm_2019-06-07T08:46:14Z.log
AllMappingNWP safnwc.cfs ...
Step 2: Initiating the NWC/GEO Task-Manager Cycle
nohup: appending output to ‘nohup.out’
-----------------------------------------------------------
Task Manager for the NWC/GEO has been started successfully
-----------------------------------------------------------
A useful thing to do at this point is set logs to print to the terminal. This will give you a better idea of what the program is doing while you are working through the test dataset. To do this run the following command.
tm log printtty `tty`
Next we are going to untar the test data.
tar xvzf NWC-CDOP3-GEO-AEMET-SW-DATA-MSGPS_DATASET_v2018.tgz
This command will untar the test data into the appropriate folders located in import.
After you have untarred the first set of training data you will see some messages indicating that new NWP files have been found. This is because on untarring the data files were automatically unpacked to the $SAFNWC/import/NWP_data directory. The mapping processes for this data will automatically happen (and will only take a few minutes).
At this stage you can cd into the import folder
cd import
If you do a file list (ls
) in this folder you will see the following directories.
Aux_data NWP_data Obs_data Sat_data Sat_data_archive
All input files to the NWC/GEO application including auxiliary data files, are stored in or linked to this directory.
We now are going to copy some files from the Sat_data_archive folder into the Sat_data directory.
The Sat_data directory is where new files from the Satellite dish need to be copied to for the GEO software to process them.
We are going to simulate some new files arriving in this folder by copying them in.
type the following command
cd Sat_data_archive
then
cp *201701120900* ../Sat_data
After a while you will see the following message
: New Satellite file found: >$SAFWNC/import/Sat_data/H-000-MSG4__-MSG4________-_________-EPI______-201701120900-__<
This indicates that new slot has been received and the processing of the slot has started.
The messages will continue to show on your terminal and show you the progress of the various PGEs as the software runs through them. Eventually you will receive the message.
All PGEs for Slot 2017-01-12T09:00:00Z have concluded
When you receive this message all the processing for this time slot has concluded. Even though the command line prompt might have disappeared issuing new commands at this stage is OK. Now run the following command to check the status of the processing.
tm status
you should see something similar to below
Task Manager Status:
REAL_TIME Mode: ON
Active Mode: ON
Number of tasks in Schedule / in execution: 0/ 0 (Max: 1)
Region Priority / PGE: CMA CT CTTH CMIC PC CRR PPh iSHAI HRW EXIM ASII ASII-TF ASII-GW RDT-CW CI PLAX L1SD
------------------------------------------------------------------------------------------------------------
MSG-N 01: XXX XX XXXX XXXX XX XXX XXX XXXXX XXX XXXX XXXX XXXXXXX XXXXXXX XXXXXX XX ---- ----
------------------------------------------------------------------------------------------------------------
Number of PGE executed/successfully/Total RunTime/Mean RunTime
----------------------------------
CMA: 1 1 3 3
CT: 1 1 1 1
CTTH: 1 1 5 5
CMIC: 1 1 3 3
PC: 1 1 1 1
CRR: 1 1 2 2
PPh: 1 1 2 2
iSHAI: 1 1 16 16
HRW: 1 0 0
EXIM: 1 0 0
ASII: 1 0 0
ASII-TF: 1 1 3 3
ASII-GW: 1 1 24 24
RDT-CW: 1 1 5 5
CI: 1 1 3 3
PLAX: 0 0 0
L1SD: 0 0 0
----------------------------------
Total: 15 12 68 68
Number of Slots completely processed : 1
Mean time employed by Task Manager Cycle: 0.00s
Maximun cycle time: 0.00s
Now let's copy some more data into the sat_data directory
cp *201701120915* ../Sat_data
next
cp *201701120930* ../Sat_data
next
cp *201701120945* ../Sat_data
and finally
cp *201701121000* ../Sat_data
You should have now processed all the entire test data set, run the following command to get a summary of what it has produced.
tm status
Again this should give you a quick overview of the PGEs processed.
The software has produced a set of netcdf files for each PGE. The program puts all it's processed netcdf files in the export directory. If you run the following command you will see the files produced from the test data
ls -lR $SAFNWC/export/* | more
Now quit the software using the following command.
tm quit
You can now clean up all the files from the test dataset by running the following commands
rm $SAFNWC/import/NWP_data/*
rm $SAFNWC/import/Sat_data/*
rm $SAFNWC/export/*/*
rm -rf $SAFNWC/import/Sat_data_archive
rm -rf $SAFNWC/export_archive
rm $SAFNWC/logs/*
rm $SAFNWC/tmp/*