[Thread Prev][Thread Next][Index]

Re: [ferret_users] records



At present none of the above queried feature Ferret supports, in future it may come :), we encourage contributions from users, and you can also become part of development team.

Regards,
Akshay Hegde
https://about.me/akshay.k.hegde

On Thu, Nov 12, 2015 at 11:07 AM, Marco van Hulten <marco.van-hulten@xxxxxxxxxxxx> wrote:
Hi all,

Is it possible to define data structures that are more complex than
scalars and arrays?  I am talking about records [1], so e.g.

    let A.x = "some name"
    let A.y = 10
    let A.z = 3.14

Ultimately I'd like to define an array consisting of records:

    let B.x = {"first name", "second name", "third name"}
    let B.y = {1, 2, 3}
    let B.z = {0.1, 0.2, 0.3}

or the other way around starting with records and putting them in an
array:

    let C = { A, A2, ... }

Note that none of the above command don't work in Ferret, but I hope it
is clear what I would like to do :-)

Marco

[1]: https://en.wikipedia.org/wiki/Record_(computer_science)#Examples

--
Laboratoire des Sciences du Climat et l'Environnement (LSCE)
Tel: +33 1 6908 3876
Www: http://www.lsce.ipsl.fr/Pisp/marco.van-hulten/


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement