spedas / bleeding_edge

IDL-based Space Physics Environment Data Analysis Software (bleeding edge)
http://www.spedas.org
Other
7 stars 0 forks source link

Add Tsyganenko, Andreeva, Gordeev 2014 neutral sheet model to SPEDAS #88

Open jameswilburlewis opened 1 year ago

jameswilburlewis commented 1 year ago

Fik Beyene asked if we could add this neutral sheet model to SPEDAS:

https://geo.phys.spbu.ru/~tsyganenko/empirical-models/current_sheet/neutral_sheet/

The reference implementation is written in Fortran, so this would mean packaging it as a DLM and compiling binaries for Mac, Windows, and Linux platforms. We could also try translating Fortran to pure IDL, but we'd want to have the Fortran version up and running for testing purposes.

jameswilburlewis commented 1 year ago

Let's ask Haje if he can include this in GEOPACK, possibly with some of the work Fik has already done.

ericthewizard commented 1 year ago

One thing to note: I don't see a license for this code anywhere, so we should get permission from Nikolai before reproducing/redistributing it

jameswilburlewis commented 1 year ago

It's licensed under GPL 3: https://geo.phys.spbu.ru/~tsyganenko/empirical-models/

jameswilburlewis commented 1 year ago

The code looks simple enough to be worth implementing in pure Python and IDL.

jameswilburlewis commented 11 months ago

Direct link to code: https://geo.phys.spbu.ru/~tsyganenko/models/cs/TAG14.for

jameswilburlewis commented 11 months ago

Translated code has been added to general/misc/neutral_sheet.pro. There is still a bit of work to be done to complete the integration: