Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'FDC' object has no attribute 'time_integrated' #40

Open
wjjxjd opened this issue Jun 19, 2019 · 5 comments
Open

AttributeError: 'FDC' object has no attribute 'time_integrated' #40

wjjxjd opened this issue Jun 19, 2019 · 5 comments

Comments

@wjjxjd
Copy link

wjjxjd commented Jun 19, 2019

import reflexible as rf
fprun = rf.Flexpart("/home/wjj/reflexible-master/reflexible/uio_examples/Fwd1_V9.02/pathnames")
H = fprun.Header
print(dir(H))
T = rf.read_trajectories(H)
TC = None
for s, k in H.C:
data = H.C[(s, k)]
TC = rf.plot_totalcolumn(H, data, map_region='Europe', FIGURE=TC)
TC = rf.plot_trajectory(H, T, k, FIGURE=TC)
filename = '%s_
Traceback (most recent call last):
File "", line 3, in
File "/home/wjj/reflexible-master/reflexible/plotting.py", line 94, in plot_totalcolumn
dmax = data.max
File "/home/wjj/reflexible-master/reflexible/data_structures.py", line 669, in max
return self.time_integrated.max()
AttributeError: 'FDC' object has no attribute 'time_integrated'

@wjjxjd wjjxjd closed this as completed Jun 19, 2019
@wjjxjd wjjxjd reopened this Jun 19, 2019
@wjjxjd
Copy link
Author

wjjxjd commented Jun 19, 2019

import reflexible as rf
fprun = rf.Flexpart("/home/wjj/reflexible-master/reflexible/uio_examples/Fwd1_V9.02/pathnames")
H = fprun.Header
print(dir(H))
T = rf.read_trajectories(H)
TC = None
for s, k in H.C:
data = H.C[(s, k)]
TC = rf.plot_totalcolumn(H, data, map_region='Europe', FIGURE=TC)
TC = rf.plot_trajectory(H, T, k, FIGURE=TC)
filename = '%s_tc_%s.png' % (data.species, data.timestamp)
TC.fig.savefig(filename)

Traceback (most recent call last):
File "", line 3, in
File "/home/wjj/reflexible-master/reflexible/plotting.py", line 94, in plot_totalcolumn
dmax = data.max
File "/home/wjj/reflexible-master/reflexible/data_structures.py", line 669, in max
return self.time_integrated.max()
AttributeError: 'FDC' object has no attribute 'time_integrated'

@krmyArag
Copy link

krmyArag commented Sep 1, 2019

Hello, have you solved the problem? I also have the same trouble, just using the example data and codes.

@wjjxjd
Copy link
Author

wjjxjd commented Sep 1, 2019

In fact, I gave up the package, it was really unworkful, I installed version 10.4. Can directly output nc format

@wjjxjd
Copy link
Author

wjjxjd commented Sep 1, 2019 via email

@krmyArag
Copy link

krmyArag commented Sep 1, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants