CLAVRx v.2.0

Post Reply
Dmitry
Posts: 34
Joined: Mon Feb 29, 2016 3:56 am

CLAVRx v.2.0

Post by Dmitry »

Dear colleagues,

I don't know where to write as their is not a dedicated forum header.
I had problems while launching CLAVRx.

I use Ubuntu 14.04.4 LTS, I carried out all the steps as per the CSPP_CLAVRx_Installation_Guide_v2.0.pdf, however I get the following error:

/home/IPOPP/CSPP/CLAVRx_2_0/scripts/run_clavrx.sh: 22: /home/IPOPP/CSPP/CLAVRx_2_0/scripts/run_clavrx.sh: function: not found
Usage: run_clavrx.sh [-d] INSTRUMENT_ID INPUT_DIR WORK_DIR OUT_DIR

Where:
INSTRUMENT_ID is 1 (AVHRR), 2 (MODIS), 3 (VIIRS), 4 (COMS), 5 (GOES), or 6 (MTSAT)
INPUT_DIR is the full path and name of input file directory
WORK_DIR is the directory to do the processing in for this job
OUT_DIR is the directory to copy the output files to, will be created if it doesn't already exist

Additional options:
-d : debug mode - preserves WORK_DIR even after successful completion

Best regards,
Dmitry
kathys
Posts: 484
Joined: Tue Jun 22, 2010 4:51 pm

Re: CLAVRx v.2.0

Post by kathys »

Hi Dmitry,

I think there is a simple solution to your problem. Ubuntu translates the first line of the run_clavrx.sh script:

#!/usr/bin/env sh

as something other than the bash shell. So if you change the first line to:

#!/usr/bin/env bash

That should resolve this problem. We will make sure to change this for future releases.

Cheers,

Kathy
Dmitry
Posts: 34
Joined: Mon Feb 29, 2016 3:56 am

Re: CLAVRx v.2.0

Post by Dmitry »

Dear Kathy,

Perfect, it surely will help.

Regards,
Dmitry
Dmitry
Posts: 34
Joined: Mon Feb 29, 2016 3:56 am

Re: CLAVRx v.2.0

Post by Dmitry »

Dear Kathy,


Please could you add the QuickLook (*.png file) generation for the image AVHRR, MODIS to CLAVRx? It could be very useful.

Best regards,
Dmitry
kathys
Posts: 484
Joined: Tue Jun 22, 2010 4:51 pm

Re: CLAVRx v.2.0

Post by kathys »

You can create quicklooks for AVHRR and MODIS. Follow the instructions in section 3.3 of the Installation Instructions for CLAVRx version 2.0.

Kathy
Post Reply