You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ make pull_deps
$ make build_compiled
docker build \
--build-arg compile_option= \
--build-arg BASE_IMAGE=ubuntu:18.04 \
-f docker/Dockerfile \
-t us.gcr.io/vcm-ml/fv3gfs-compiled:gnu7-mpich314-nocuda \
--target fv3gfs-compiled .
Sending build context to Docker daemon 133.3MB
Step 1/72 : ARG serialize=false
Step 2/72 : ARG BASE_IMAGE
Step 3/72 : ARG MPI_IMAGE=fv3gfs-mpi
Step 4/72 : ARG FMS_IMAGE=fv3gfs-fms
Step 5/72 : ARG ESMF_IMAGE=fv3gfs-esmf
Step 6/72 : ARG SERIALBOX_IMAGE=fv3gfs-environment-serialbox
Step 7/72 : FROM $BASE_IMAGE AS fv3gfs-mpi
---> 2c047404e52d
Step 8/72 : RUN apt-get update && apt-get install -y wget libtool-bin gcc g++ gfortran make
---> Running in 0800aba17e04
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Err:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
At least one invalid signature was encountered.
Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
At least one invalid signature was encountered.
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Err:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
At least one invalid signature was encountered.
Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Err:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
At least one invalid signature was encountered.
Reading package lists...
W: GPG error: http://security.ubuntu.com/ubuntu bionic-security InRelease: At least one invalid signature was encountered.
E: The repository 'http://security.ubuntu.com/ubuntu bionic-security InRelease' is not signed.
W: GPG error: http://archive.ubuntu.com/ubuntu bionic InRelease: At least one invalid signature was encountered.
E: The repository 'http://archive.ubuntu.com/ubuntu bionic InRelease' is not signed.
W: GPG error: http://archive.ubuntu.com/ubuntu bionic-updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://archive.ubuntu.com/ubuntu bionic-updates InRelease' is not signed.
W: GPG error: http://archive.ubuntu.com/ubuntu bionic-backports InRelease: At least one invalid signature was encountered.
E: The repository 'http://archive.ubuntu.com/ubuntu bionic-backports InRelease' is not signed.
The command '/bin/sh -c apt-get update && apt-get install -y wget libtool-bin gcc g++ gfortran make' returned a non-zero code: 100
make: *** [build_compiled] Error 100
Is this rule still supported?
The text was updated successfully, but these errors were encountered:
A user would like to be able to change the dimension ordering of Quantity objects, since the wrapper and new dynamical core use different dimension ordering for many (all?) values. Currently it requires significantly complicated user code to do this. This PR adds a `.transpose(dims)` method to Quantity which allows performing this re-ordering much more easily.
If you know you are working with cell-centered variables, you can do:
```python3
from fv3gfs.util import X_DIM, Y_DIM, Z_DIM
transposed_quantity = quantity.transpose([X_DIM, Y_DIM, Z_DIM])
```
To support re-ordering without checking whether quantities are on cell centers or interfaces, the API supports giving a list of dimension names for dimensions. For example, to re-order to X-Y-Z dimensions regardless of the grid the variable is on, one could do:
```python3
from fv3gfs.util import X_DIMS, Y_DIMS, Z_DIMS
transposed_quantity = quantity.transpose([X_DIMS, Y_DIMS, Z_DIMS])
```
I get this error
Is this rule still supported?
The text was updated successfully, but these errors were encountered: