CliMA / CliMA/ClimaCore.jl

It's hard to extract coordinates of a Space as vectors

Open
#2,271 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Julia
Stars
117
Forks
19
Avg merge
3d 5h
Merged PRs (30d)
36

Description

I would like to know the vertical coordiantes of a given space and I want the output as an Array (for plotting).

The simplest way I found is
```julia
Array(Fields.field2array(Spaces.coordinate_data(space).z))[:, 1]
```

This is much more complicated than it should be (and it uses `parent`).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.