Skip to content

Commit

Permalink
Update spiceinit URL (DOI-USGS#5431)
Browse files Browse the repository at this point in the history
* Update spiceinit URL

* added changelog
  • Loading branch information
amystamile-usgs authored Mar 19, 2024
1 parent ce05167 commit 399f4a3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ release.

## [Unreleased]

### Added
### Changed
- Changed the default spiceinit url to https://astrogeology.usgs.gov/apis/ale/v0.9.1/spiceserver/ and added deprecation warning for use of https://services.isis.astrogeology.usgs.gov/cgi-bin/spiceinit.cgi url. [#5327](https://github.com/USGS-Astrogeology/ISIS3/issues/5327)

- CSMCamera can now read and use the body rotation from ALE produced ISDs [#5072](https://github.com/DOI-USGS/ISIS3/pull/5072)
- CSMSkyMap added to CSMCamera for use with local rover projections in ISIS [#5072](https://github.com/DOI-USGS/ISIS3/pull/5072)

### Fixed
- Fixed <i>noproj</i> bug where some temporary files were not deleted after call to cam2cam. Issue: [#4813](https://github.com/USGS-Astrogeology/ISIS3/issues/4813)
Expand All @@ -50,6 +49,8 @@ release.
- Added 8 new functions to the Sensor Utility Library: Slant Distance, Target Center Distance, Right Ascension Declination, Local Solar Time, Line Resolution, Sample Resolution, Pixel Resolution, and Solar Longitude.
- Fixed TrackTool, FindTool, and AdvancedTrackTool not reporting RA and DEC for images targeting the Sky. [#5409](https://github.com/DOI-USGS/ISIS3/pull/5409)
- Added new option in `ctxcal` to use monthly computed flatfield files for "Frown" removal in CTX images. [#5338](https://github.com/DOI-USGS/ISIS3/pull/5338)
- CSMCamera can now read and use the body rotation from ALE produced ISDs [#5072](https://github.com/DOI-USGS/ISIS3/pull/5072)
- CSMSkyMap added to CSMCamera for use with local rover projections in ISIS [#5072](https://github.com/DOI-USGS/ISIS3/pull/5072)


## [8.1.0] - 2024-01-08
Expand Down
5 changes: 5 additions & 0 deletions isis/src/base/apps/spiceinit/spiceinit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,11 @@ namespace Isis {
throw IException(IException::User, msg, _FILEINFO_);
}

if (ui.GetString("URL") == "https://services.isis.astrogeology.usgs.gov/cgi-bin/spiceinit.cgi"){
QString msg = "USER WARNING: The URL you entered has been deprecated and no longer recommended for use.";
std::cerr << msg << std::endl;
}

QString url = ui.GetString("URL") + "?mission=" + missionName +
"&instrument=" + instrumentId;
int port = ui.GetInteger("PORT");
Expand Down
2 changes: 1 addition & 1 deletion isis/src/base/apps/spiceinit/spiceinit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@
<description>
This is where a request for SPICE data is sent. The default is the USGS SPICE server.
</description>
<default><item>https://services.isis.astrogeology.usgs.gov/cgi-bin/spiceinit.cgi</item></default>
<default><item>https://astrogeology.usgs.gov/apis/ale/v0.9.1/spiceserver/</item></default>
</parameter>
<parameter name="PORT">
<type>integer</type>
Expand Down

0 comments on commit 399f4a3

Please sign in to comment.