Ancillary data retrieval
Ancillary data retrieval
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
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:
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
Ancillary data retrieval
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.
At no time should you point to https://github.com/seadas/seadas.git
Sean
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
Ancillary data retrieval
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
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
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
Ancillary data retrieval
Post the output of
If you're feeling adventurous, try:
Sean
git status
If you're feeling adventurous, try:
git checkout v7.4
git pull
Sean
Ancillary data retrieval
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
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
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
Ancillary data retrieval
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)
2) Delete the scripts directory entirely
3) Change directories to
4) Change directories to
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
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
Sorry Sean,
I was away for awhile. The link https://oceandata.sci.gsfc.nasa.gov/ocssw/scripts.git
does not work.
Regards,
Katia
I was away for awhile. The link https://oceandata.sci.gsfc.nasa.gov/ocssw/scripts.git
does not work.
Regards,
Katia
-
- Subject Matter Expert
- Posts: 271
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
Ancillary data retrieval
it is not a link for a web browser. It is a repository for git. You need to enter this on the command line:
don
git clone https://oceandata.sci.gsfc.nasa.gov/ocssw/scripts.git
don