Dear Sander, dear all,
I seem to have hit a bit of a snag with deriving either altitude or pressure from the S5P NO2 datasets. I tried to derive during the import of the product,
try:
product = harp.import_product(infile,operations = ‘tropospheric_NO2_column_number_density_validity>75;point_distance(40.6335,22.9563,20[km]);\ derive(NO2_slant_column_number_density[Pmolec/cm2]);derive(NO2_slant_column_number_density_uncertainty[Pmolec/cm2]);\ derive(tropospheric_NO2_column_number_density[Pmolec/cm2]);derive(tropospheric_NO2_column_number_density_uncertainty[Pmolec/cm2]);
derive(pressure[Pa]);
keep(latitude, longitude, latitude_bounds,longitude_bounds,solar_zenith_angle,sensor_zenith_angle,scan_subindex,\ pressure_bounds,surface_pressure,surface_meridional_wind_velocity,surface_zonal_wind_velocity,
cloud_fraction,cloud_pressure, orbit_index,datetime_start,datetime_length,\ NO2_slant_column_number_density,NO2_slant_column_number_density_uncertainty,\ tropospheric_NO2_column_number_density_amf,tropospheric_NO2_column_number_density_avk,\ tropospheric_NO2_column_number_density,tropospheric_NO2_column_number_density_uncertainty,
tropospheric_NO2_column_number_density_validity,pressure)’)
But I get nothing in return, even though the pressure from pressure bounds is included in the relevant section as available, pressure derivations — HARP 1.17 documentation (stcorp.github.io)
Needless to say, I do get a product ingested when the pressure-related sections are not there in the ingest command.
To be honest, when I am interested is in the altitude [i.e. in m]. Altitude from pressure derivation exists, so I was thinking of a double-derivation, pressure bounds to pressure and pressure to altitude. The necessary fields exist in the S5P NO2 file, I think, altitude derivations — HARP 1.17 documentation (stcorp.github.io)
Am using Harp 1.16, on python 3.8
Many thanks as always,
MariLiza