loading data from a GDX file,

Hi all,
I got a very simple problem but I could not get over it. I can read data from all GDX file in the same folder except the attached one.
While I run the following lines of code I got nothing just exit code 3:

scalars
zAC
;
execute_load ‘ACResults’ zAC
display zAC;

Could anyone help me please?


ACResults.gdx (24.8 KB)

I think it is because the zAC stored in the gdx as a variable and you want to define it as a scalar. Following works for me.

variable zAC;
$gdxin ACResults.gdx
$load zAC
display zAC.l;

On Tue, Nov 17, 2015 at 9:20 AM, omid ziaee wrote:

Hi all,
I got a very simple problem but I could not get over it. I can read data from all GDX file in the same folder except the attached one.
While I run the following lines of code I got nothing just exit code 3:

scalars
zAC
;
execute_load ‘ACResults’ zAC
display zAC;

Could anyone help me please?


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.



\

Partha Das
Junior Research Fellow MNRE, MNIT Jaipur
+91 8239 375 906 | partha67@gmail.com | Skype: daspartha22 | Center for Energy and Environment, MNIT Jaipur, Rajasthan (India) - 302017


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Hi Omid
You can do as below:

scalar aa;
execute_load ‘ACResults’ aa=zAC.l
display aa;

✔ Get a Signature like this: Click Here!

On Tue, Nov 17, 2015 at 10:47 AM, Partha Das wrote:

I think it is because the zAC stored in the gdx as a variable and you want to define it as a scalar. Following works for me.

variable zAC;
$gdxin ACResults.gdx
$load zAC
display zAC.l;

On Tue, Nov 17, 2015 at 9:20 AM, omid ziaee wrote:

Hi all,
I got a very simple problem but I could not get over it. I can read data from all GDX file in the same folder except the attached one.
While I run the following lines of code I got nothing just exit code 3:

scalars
zAC
;
execute_load ‘ACResults’ zAC
display zAC;

Could anyone help me please?


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.



\

Partha Das
Junior Research Fellow MNRE, MNIT Jaipur
+91 8239 375 906 | partha67@gmail.com | Skype: daspartha22 | Center for Energy and Environment, MNIT Jaipur, Rajasthan (India) - 302017


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.