Jiwoo Lee
Jiwoo Lee
Hi @kristinchang3, could you see if adding the following in the parameter file would help? `custom_observation = '/PATH/TO/THE/NEW/JSON/FILE'` The JSON file is a part of the new climatology reference dataset...
ARM Diags use CDAT, so we might have to keep it as an optional dependency.
It looks like the code is not finding `navy_land.nc` file that is originally in [`share/data`](https://github.com/PCMDI/pcmdi_metrics/tree/main/share/data), which is in [setup.py](https://github.com/PCMDI/pcmdi_metrics/blob/776634fd2f6202cb4cb6477c06312773418beeb2/setup.py#L85) to enable this data after installation. Not sure why...
I created a fresh env on my Mac but couldn't reproduce the error. ```conda env -n pmp_v3.6.1 -c conda-forge pcmdi_metrics``` ```python from pcmdi_metrics.utils import create_target_grid, create_land_sea_mask grid = create_target_grid(-90, 90,...
The minimal code in the [above comment](https://github.com/PCMDI/pcmdi_metrics/issues/1154#issuecomment-2390306933) works well in fresh env on NERSC Perlmutter. I however found the following error from the original example code in the [first comment](https://github.com/PCMDI/pcmdi_metrics/issues/1154#issue-2560327967)....
Below code is working for me on my NERSC fresh PMP env, although it still does not address the original issue. ```python import xcdat from pcmdi_metrics.utils import create_land_sea_mask f="/global/cfs/projectdirs/m3522/cmip6/LOCA2/GFDL-CM4/0p0625deg/r1i1p1f1/historical/tasmax/tasmax.GFDL-CM4.historical.r1i1p1f1.1950-2014.LOCA_16thdeg_v20220413.nc" ds=xcdat.open_dataset(f).sel({"time":slice("1981-01-01","1981-01-31")})...
@acordonez do you consider this can be closed?
Great, thank you for letting me know! Given that drcdm code was not affected by this at the moment, I think this issue can be closed now.