Closed egthomas closed 2 years ago
@egthomas I'm not able to compile this branch. Are there some commits you forgot to push?
The ;
is missing on this line...
And I got an error:
In file included from fitidl.c:34:
fitidl.c: In function ‘IDLCopyFitDataFromIDL’:
fitidl.c:56:34: error: ‘struct FitIDLData’ has no member named ‘algorithm’
56 | if (strlen(IDL_STRING_STR(&ifit->algorithm)) !=0)
| ^~
@ecbland sorry about that - I was just in the process of fixing those errors when you made your comment. It should compile properly now, and I just verified that the IDL DLM is working. The last thing for me to test is the native IDL support for the new field.
edit the native IDL support seems to be working fine, so there aren't any more changes planned on my end.
Ok so I changed my mind - one final commit modifies time_plot
and field_plot
to display the fitting algorithm string (if available) instead of the major and minor revision numbers, eg
If the fitting algorithm is not available from the fitacf
file, then the major and minor revision numbers are displayed as usual.
Thanks for doing this @egthomas! I've tested this with dmapdump
, the IDL DLM code and the native IDL code. The changes to time_plot
and field_plot
also work as described.
This pull request adds a new
algorithm
field tofitacf
-format files, which uses @ecbland's new consolidatedmake_fit
to store an appropriate string for each fitting algorithm and (partially) addresses #479. Similar to #512, the addition of this new field will eventually need to be coordinated withpydarn
andpydarnio
.Note the target of this pull request is the
feature/make_fit
branch rather thandevelop
.