Skip to content

4NEC2 compatibility issues #19

Description

@theosaveliev

OpenNEC doesn't open any .nec file from 4NEC2's model library from the official website.
Could you advise on how to use 4NEC2's models?

Example:

% onec -nt J-ant.nec             
GN on line 22: but the card after it is not a GD.

% onec -i J-ant.nec              
zsh: segmentation fault  onec -i J-ant.nec

% onec --version
onec 2.2.0

% cat J-ant.nec
CM  J-antenna 144MHz
CE

sy H=7.12	' Height above ground

SY l1=0.47, la=H+l1
SY l2=1.483, lb=H+l2

GW 1 20 0.0 0.0  la 0.0 0.0  lb  .003
GW 2 10 0.0 0.0  la 0.0 0.0  H  .003

SY d=0.0354, dd=H-d
GW 3 1 0.0 0.0  H 0.0 0.0  dd  .003
GW 4 1 0.0 0.0  dd 0.0  .01 dd  .003
GW 5 1 0.0  .01  dd 0.0  .01  H  .003
GW 6 10 0.0  .01  H 0.0  .01  la  .003
GW 7 1 0.0 0.0  H 0.0  .01  H  .003
GE 1

EK
LD 5 0 0 0 25000000
GN 2 0 0 0 13  0.005 0.0 0.0
EX 0 7  1  0  1.0 0.0
FR 0 1 0 0 145 1
EN

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions