s.geometry

39 views
Skip to first unread message

Mengmeng Yang

unread,
May 17, 2021, 9:58:34 AM5/17/21
to Py6S
Hi Robin,

When I ran s.geometry = GeometryUser() or s.geometry = User(), I got error as below:
Geometry.png

Then, I skipped the above codes, and directly ran s.geometry.solar_z = XX, it worked.
I wonder if there is anything wrong with the above codes?

Thank you in advance.
Kind regards,
Mengmeng.

Robin Wilson

unread,
May 17, 2021, 10:28:27 AM5/17/21
to py...@googlegroups.com
Hi,

You need to use Geometry.User(), as opposed to the other ones you tried (missing out either the Geometry or the . will make it fail).

Robin
--
You received this message because you are subscribed to the Google Groups "Py6S" group.
To unsubscribe from this group and stop receiving emails from it, send an email to py6s+uns...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/py6s/7b3f0c34-3354-4a19-9f01-dca2bd9ca2a3n%40googlegroups.com.
35f12e35-c3de-4061-bb2a-b7e86d2bccc5.png

Mengmeng Yang

unread,
May 17, 2021, 7:27:57 PM5/17/21
to Py6S
Hi Robin,

Thanks a lot. It works now.

Kind regards,
Mengmeng.

Reply all
Reply to author
Forward
0 new messages