Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMEMS phyc not available in reanalysis #622

Open
veenstrajelmer opened this issue Oct 30, 2023 · 0 comments
Open

CMEMS phyc not available in reanalysis #622

veenstrajelmer opened this issue Oct 30, 2023 · 0 comments

Comments

@veenstrajelmer
Copy link
Collaborator

veenstrajelmer commented Oct 30, 2023

The below MWE raises: KeyError: '"phyc" not found in dataset, available are: [\'chl\', \'no3\', \'nppv\', \'o2\', \'po4\', \'si\']'

import dfm_tools as dfmt

lon_min, lon_max, lat_min, lat_max = -68.55, -67.9, 11.8, 12.6
date_min = '2020-12-02'
date_max = '2020-12-03'

varkey = 'phyc'
dfmt.download_CMEMS(varkey=varkey,
                    longitude_min=lon_min, longitude_max=lon_max, latitude_min=lat_min, latitude_max=lat_max,
                    date_min=date_min, date_max=date_max,
                    dir_output='.', file_prefix='cmems_', overwrite=True)

Forecast does have phyc: https://data.marine.copernicus.eu/product/GLOBAL_ANALYSISFORECAST_BGC_001_028/services
Reanalysis has not: https://data.marine.copernicus.eu/product/GLOBAL_MULTIYEAR_BGC_001_029/services

Maybe consider whether nppv can also be used which might be comparable, although this is something different according to the user manuals. Units are different and the quantity differs approximately a factor 10.

However, both user manuals state the datasets should have a phyc variable:

multiyear:
nppv [mg.m-3.day-1] Net primary production net_primary_production_of_biomass_expressed_as_carbon_per_unit_volume_in_sea_water
phyc [mmol.m-3] Phytoplankton concentration in carbon mole_concentration_of_phytoplankton_expressed_as_carbon_in_sea_water

forecast:
nppv [mg m-3 day-1] Total Primary Production of Phyto net_primary_production_of_biomass_expressed_as_carbon_per_unit_volume_in_sea_water
phyc [mmol m-3] Total Phytoplankton mole_concentration_of_phytoplankton_expressed_as_carbon_in_sea_water

CMEMS clarified on 9-8-2024 that phyc is available in reanalyis monthly datasets, but not in daily. Requested to add it to daily, but not yet sure whether this request will be accepted. If not, download phyc from monthly mean datasets instead (for reanalysis only)

@veenstrajelmer veenstrajelmer changed the title CMEMS phyc is sometimes called nppv CMEMS phyc not available in reanalysis Oct 30, 2023
@veenstrajelmer veenstrajelmer closed this as not planned Won't fix, can't repro, duplicate, stale Nov 2, 2023
This was referenced Jul 11, 2024
This was referenced Sep 3, 2024
This was referenced Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant