Anderson Banihirwe

Results 215 comments of Anderson Banihirwe

@ahuang11, thank you for putting this together! > Does this meet the following criteria? This looks great to me. It would be valuable to have this in esmlab. Would you...

@alperaltuntas, is https://github.com/alperaltuntas/mncPy the repo with the scripts you mentioned?

https://hvplot.pyviz.org/user_guide/Gridded_Data.html

I'm not familiar with NCL's spectra functionality, but I recommend to anyone looking into porting this in geocat-comp to look into the xrft package: https://xrft.readthedocs.io/en/latest/index.html

@cmosig, have you tried the `-c` option? ```bash jupyter-forward username@remote-machine -c '$(/opt/miniconda3/bin/conda shell.zsh hook)' ```

> Yes, same result. It seems to execute after `conda activate`, right? if i recall correctly, the command executes before the environment activation https://github.com/ncar-xdev/jupyter-forward/blob/59401a5d4cbeecf0b93b08293b72143009013396/jupyter_forward/core.py#L206 do you mind trying a different...

@dabail10 & @jessluo, thank you for putting this together! Let us know if you would be motivated enough to put together a pull request to `esmlab` to do this.

> We would need help formulating this as a more general function that would fit in esmlab. I don't really feel confident about doing that at this point. No worries....

Would this be enough? ```python def infer_time_coord_name(ds): unlimited_dims = ds.encoding.get('unlimited_dims', None) if len(unlimited_dims) == 1: time_coord_name = list(unlimited_dims)[0] return time_coord_name else: raise ValueError("Couldn't infer `time_coord_name` from multiple unlimited dimensions: %s...

@matt-long, your suggestion makes more sense. I will add it to the PR