Ancillary data retrieval

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
kstankov
Posts: 5
Joined: Fri Sep 21, 2018 10:16 am America/New_York
Answers: 0

Ancillary data retrieval

by kstankov » Fri Sep 21, 2018 7:26 pm America/New_York

I have an older version of Seadas and a script for this version, so an upgrade to a newer version is not an option.
I am trying to upgrade the script directory only as in the post from 2018-01-03 10:22.
It gives me the following:
git pull https://github.com/seadas/seadas.git v7.4.cs
From https://github.com/seadas/seadas
* branch              v7.4.cs    -> FETCH_HEAD
Already up to date.

And the error:
git checkout v7.4
error: pathspec 'v7.4' did not match any file(s) known to git

git checkout v7.4.cs
error: pathspec 'v7.4.cs' did not match any file(s) known to git
Thanks in advance.

Regards,
Katia Stankov

Filters:

OB.DAACx - SeanBailey
Posts: 1519
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 9 times

Ancillary data retrieval

by OB.DAACx - SeanBailey » Sat Sep 22, 2018 3:03 pm America/New_York

Katia,

The SeaDAS Github repository is for the GUI, not the data processing code (OCSSW).
The scripts tree is part of OCSSW.

The instructions in the post to which you refer, will work
to checkout the v7.4 branch of the scripts directory.

$ cd $OCSSWROOT/run/scripts                                                                                        
$ git pull                                                                                                         
$ git checkout v7.4


At no time should you point to https://github.com/seadas/seadas.git

Sean

kstankov
Posts: 5
Joined: Fri Sep 21, 2018 10:16 am America/New_York
Answers: 0

Ancillary data retrieval

by kstankov » Mon Sep 24, 2018 3:32 pm America/New_York

Sean,
Thanks for the reply. Th git pull only returns the following:
kstankov@peeler:/ocean/rcostanz/satellite/seadas6.4/run/scripts$ git pull
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

    git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

    git branch --set-upstream-to=<remote>/<branch> master

Regards,
Katia

OB.DAACx - SeanBailey
Posts: 1519
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 9 times

Ancillary data retrieval

by OB.DAACx - SeanBailey » Mon Sep 24, 2018 7:00 pm America/New_York

Post the output of git status

If you're feeling adventurous, try:
git checkout v7.4
git pull


Sean

kstankov
Posts: 5
Joined: Fri Sep 21, 2018 10:16 am America/New_York
Answers: 0

Ancillary data retrieval

by kstankov » Mon Sep 24, 2018 7:19 pm America/New_York

The initial return of git status was something like no files to be tracked, then I added all the files from Seadas.git so it returns this :
kstankov@peeler:/ocean/rcostanz/satellite/seadas6.4/run/scripts$ git status
On branch master
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

  new file:   README.getanc
  new file:   README.modis_GEO
  new file:   README.modis_L1A
  .........
  new file:   seadas_startup
  new file:   update_luts.py

And the checkout returns:
kstankov@peeler:/ocean/rcostanz/satellite/seadas6.4/run/scripts$ git checkout v7.4
error: pathspec 'v7.4' did not match any file(s) known to git

Thank you very much,
Katia

OB.DAACx - SeanBailey
Posts: 1519
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 9 times

Ancillary data retrieval

by OB.DAACx - SeanBailey » Tue Sep 25, 2018 8:20 am America/New_York

Katia,

You seem to have a buggered  scripts directory.  Let's start fresh.  I'm assuming you still do not want to upgrade, so this will be a bit more manual than typically necessary.
I'm also assuming your current installation is pre-v7.4.  Given that...

1) Make sure the $OCSSWROOT environment variable points to your OCSSW directory (it should be under your seadas install directory)
    export OCSSWROOT=<seadas install directory>/ocssw
2) Delete the scripts directory entirely
    rm -rf $OCSSWROOT/run/scripts/
3) Change directories to $OCSSWROOT/run and clone a new copy of it by running:
    git clone https://oceandata.sci.gsfc.nasa.gov/ocssw/scripts.git

4) Change directories to $OCSSWROOT/run/scripts checkout the v7.4 branch:
    git checkout v7.4

I would suggest that you install the latest version of SeaDAS - it can be installed in parallel with the older version - just pick a different installation directory.
Then you can work on migrating your scripts to the new code, while still having ready access to the old...

Sean

kstankov
Posts: 5
Joined: Fri Sep 21, 2018 10:16 am America/New_York
Answers: 0

Ancillary data retrieval

by kstankov » Thu Oct 11, 2018 7:54 pm America/New_York

Sorry Sean,

I was away for awhile. The link   https://oceandata.sci.gsfc.nasa.gov/ocssw/scripts.git
does not work.

Regards,
Katia

OB SeaDAS - dshea
Subject Matter Expert
Subject Matter Expert
Posts: 271
Joined: Thu Mar 05, 2009 10:25 am America/New_York
Answers: 0
Been thanked: 2 times

Ancillary data retrieval

by OB SeaDAS - dshea » Fri Oct 12, 2018 8:56 am America/New_York

it is not a link for a web browser.  It is a repository for git.  You need to enter this on the command line:

git clone  https://oceandata.sci.gsfc.nasa.gov/ocssw/scripts.git


don

Post Reply