Page 1 of 1
Ancillary data retrieval
Posted: Fri Sep 21, 2018 7:26 pm America/New_York
by kstankov
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
Ancillary data retrieval
Posted: Sat Sep 22, 2018 3:03 pm America/New_York
by OB.DAACx - SeanBailey
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.gitSean
Ancillary data retrieval
Posted: Mon Sep 24, 2018 3:32 pm America/New_York
by kstankov
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
Ancillary data retrieval
Posted: Mon Sep 24, 2018 7:00 pm America/New_York
by OB.DAACx - SeanBailey
Post the output of git status
If you're feeling adventurous, try:
git checkout v7.4
git pull
Sean
Ancillary data retrieval
Posted: Mon Sep 24, 2018 7:19 pm America/New_York
by kstankov
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
Ancillary data retrieval
Posted: Tue Sep 25, 2018 8:20 am America/New_York
by OB.DAACx - SeanBailey
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
Ancillary data retrieval
Posted: Thu Oct 11, 2018 7:54 pm America/New_York
by kstankov
Sorry Sean,
I was away for awhile. The link
https://oceandata.sci.gsfc.nasa.gov/ocssw/scripts.gitdoes not work.
Regards,
Katia
Ancillary data retrieval
Posted: Fri Oct 12, 2018 8:56 am America/New_York
by OB SeaDAS - dshea
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