Skip to content

Commit 424f78a

Browse files
committed
mmirs_pipeline_nonlin_script: Add tostr function
1 parent d0bdff1 commit 424f78a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

mmirs_pipeline_nonlin_script.pro

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
function tostr, str
2+
type = size(str,/type)
3+
if type eq 4 or type eq 5 then return, strcompress(string(str, f='(f8.3)'),/rem) $
4+
else return, strcompress(str,/rem)
5+
end ; -- End of tostr
6+
17
PRO mmirs_pipeline_nonlin_script, rawdir, w_dir=w_dir, first=first, $
28
linear=linear, keepfirst=keepfirst, $
39
verbose=verbose, debug=debug, $

0 commit comments

Comments
 (0)