I have a ocean file named ocean.txt that is in the attachment. I used:
to add DMS and CHLO to this file. My new ocean file is in the attachment with name ocean_new.txt.
Then I compare the new ocean file with the ocean file that is existed in the CMAQ v5.5 test case data, and in my new ocean file I have something like this:
float DMS(TSTEP, LAY, ROW, COL) ;
DMS:_FillValue = -999.f ;
DMS:long_name = "DMS " ;
DMS:var_desc = "DMS " ;
DMS:units = "nM " ;
DMS:fill_value = -999.f ;
DMS:grid_mapping = âcrsâ ;
DMS:missing_value = -999.f ;
DMS:description = "Hansell et al. seawater DMS climatology " ;
float CHLO(TSTEP, LAY, ROW, COL) ;
CHLO:_FillValue = -32767.f ;
CHLO:long_name = "CHLO " ;
CHLO:var_desc = "CHLO " ;
CHLO:units = "mg m^-3 " ;
CHLO:fill_value = -32767.f ;
CHLO:standard_name = âmass_concentration_of_chlorophyll_in_sea_waterâ ;
CHLO:grid_mapping = âcrsâ ;
CHLO:missing_value = -32767.f ;
CHLO:reference = âHu, C., Lee Z., and Franz, B.A. (2012). Chlorophyll-a algorithms for oligotrophic oceans: A novel approach based on three-band reflectance difference, J. Geophys. Res., 117, C01011, doi:10.1029/2011JC007395.â ;
CHLO:display_scale = âlogâ ;
CHLO:display_min = 0.01f ;
CHLO:display_max = 20.f ;
but in the EPAâs test case ocean file we have:
float DMS(TSTEP, LAY, ROW, COL) ;
DMS:long_name = "DMS " ;
DMS:units = "nM " ;
DMS:var_desc = "DMS " ;
float CHLO(TSTEP, LAY, ROW, COL) ;
CHLO:long_name = "CHLO " ;
CHLO:units = "mg m^-3 " ;
CHLO:var_desc = "Chlorophyll Concentration, OCI Algorithm
I think my new ocean file has some issues since the values of DMS and CHLO in all of the grid cells are equal to 0. In addition we have some additional lines in the variables part of my new ocean file in compare with the EPAâs test case ocean file. Iâm not sure why my new ocean file created wrongly.
I will appreciate if you can create a new ocean file with your python code which is available in that mentioned GITHUB website with my attached ocean.txt file.
ocean.txt (485.7 KB)
ocean_new.txt (951.2 KB)