Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
helix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Korpi-Lagg
helix
Commits
b78d4873
Commit
b78d4873
authored
5 years ago
by
Andreas Korpi-Lagg
Browse files
Options
Downloads
Patches
Plain Diff
Bug in atminput files. Did not work correctly for multi component atmospheres.
parent
822c600e
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
idlpro/def_atminputst.pro
+2
-1
2 additions, 1 deletion
idlpro/def_atminputst.pro
idlpro/read_atminput.pro
+4
-1
4 additions, 1 deletion
idlpro/read_atminput.pro
input/fe617_mapsynth.ipt
+2
-2
2 additions, 2 deletions
input/fe617_mapsynth.ipt
with
8 additions
and
4 deletions
idlpro/def_atminputst.pro
+
2
−
1
View file @
b78d4873
...
...
@@ -3,9 +3,10 @@ function def_atminputst,npar,nx,ny
if
npar
eq
0
then
data
=
fltarr
(
1
,
1
,
1
)
else
data
=
fltarr
(
npar
,
nx
,
ny
)
atminput
=
{
npar
:
npar
,
nx
:
nx
,
ny
:
ny
,
$
dummy
:
0
,
$
file
:
''
,
par
:
strarr
(
npar
),
$
file
:
''
,
par
:
strarr
(
npar
>
1
),
$
data
:
data
}
return
,
atminput
...
...
This diff is collapsed.
Click to expand it.
idlpro/read_atminput.pro
+
4
−
1
View file @
b78d4873
...
...
@@ -5,6 +5,7 @@ pro read_atminput
aistr
=
string
(
ipt
.
atm
.
atm_input
)
nx
=
0
&
ny
=
0
npar
=
intarr
(
ipt
.
ncomp
)
for
ia
=
0
,
ipt
.
ncomp
-
1
do
begin
if
strcompress
(
aistr
[
ia
])
ne
''
then
begin
...
...
@@ -35,8 +36,10 @@ pro read_atminput
atminput
=
def_atminputst
(
max
(
npar
),
nx
,
ny
)
atminput
=
replicate
(
atminput
,
ipt
.
ncomp
)
for
ia
=
0
,
ipt
.
ncomp
-
1
do
begin
if
nx
ge
1
and
ny
ge
1
then
$
for
ia
=
0
,
ipt
.
ncomp
-
1
do
begin
dummy
=
execute
(
'data=temporary(data'
+
n2s
(
ia
)
+
')'
)
dummy
=
execute
(
'par=temporary(par'
+
n2s
(
ia
)
+
')'
)
...
...
This diff is collapsed.
Click to expand it.
input/fe617_mapsynth.ipt
+
2
−
2
View file @
b78d4873
...
...
@@ -4,7 +4,7 @@ PS ./ps/ ;directory for postscript output
SAV ./sav/ ;directory for storing results (sav-file)
PROFILE_ARCHIVE ./profile_archive/ ;input directory for profiles / observations
ATM_ARCHIVE ./atm_archive/ ;output directory for results (atmospheres)
ATM_SUFFIX mo-0 ;add a suffix to the atm-directory to identify this
ATM_SUFFIX
30-pen-
mo-0 ;add a suffix to the atm-directory to identify this
; run
WGT ./wgt/ ;directory for wgt-files
ATOM ./atom/ ;directory for atomic data files
...
...
@@ -128,7 +128,7 @@ EZERO 5.000 0.000 110.000 0 ;amplitude of components of
SGRAD 1.000 0.000 9.000 6 ;gradient of source function
ALPHA 1.000 0.010 0.990 0 ;Filling factor for this component
;ATM_INPUT ./sample_data/atm_input.fits ;filename for input atmosphere: defines initial
ATM_INPUT /Users/lagg/Dropbox/MPS/work/projects/mara/EB-SynthSpot/bfield_
1
000_mu0_AL.fits ;filename for input atmosphere: defines initial
ATM_INPUT /Users/lagg/Dropbox/MPS/work/projects/mara/EB-SynthSpot/bfield_
3
000_mu0_
penumbra_
AL.fits ;filename for input atmosphere: defines initial
; value for atmospheric parameters or delivers the
; input to synthesize a map.
USE_ATOM fe617.3.dat ;atomic data file(s) for this component
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment