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

[Emission Modeling Platform] Issues in running afdust_adj #113

Open
hnqtran opened this issue Sep 12, 2024 · 2 comments
Open

[Emission Modeling Platform] Issues in running afdust_adj #113

hnqtran opened this issue Sep 12, 2024 · 2 comments

Comments

@hnqtran
Copy link
Contributor

hnqtran commented Sep 12, 2024

  1. While running afdust_adj from the SMOKE training package for the 12LISTOS domain which was windowed from the 12US1 domain, the mult.x program from SMOKE package provided along with Emission Modeling Platform (smoke5.0/scripts/afdust_adj) requires XPORTFRAC file to have grid parameters of the 12LISTOS; XPORTFRAC file for 12US1 domain could not be used directly (In other word, XPORTFRAC for 12US1 domain must be windowed to the 12LISTOS domain)

  2. Process compatible issue when running executables from the provided afdust_adj package on local machine
    Please verify that both the operating system and the processor support Intel(R) X87, CMOV, MMX, FXSAVE, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, MOVBE, POPCNT, F16C, AVX, FMA, BMI, LZCNT and AVX2 instructions.

@hnqtran
Copy link
Contributor Author

hnqtran commented Sep 19, 2024

Makefile and compilation script created for compiling afdust_adj on local system

Currently having issue with "ERROR: Running precip adjustments" when running afdust_adj/apply_precip_adj_wrf.x This issue occurred in both the SMOKE 12LISTOS training package and NEI2020 platform.

@hnqtran
Copy link
Contributor Author

hnqtran commented Sep 25, 2024

Currently the component program apply_precip_adj_wrf in afdust_adj does not support using meteorology (METCRO2D file) of a different grid (e.g., 12US1) for the target domain (e.g. 12LISTOS). IOAPI m3wndw tool should be used to subset meteorology of 12US1 to 12LISTOS domain, for example, before running afdust_adj

There is also inconsistent in filename of METCRO2D: $SMOKE/scripts/emf/afdust_adj_emf.csh which looks for METCRO2D_YYMMDD, whereas $ASSIGNS_FILE may use METCRO2D_YYYYMMDD or a different filename pattern. $SMOKE/scripts/emf/afdust_adj_emf.csh should be modified to use same METCRO2D from $ASSIGNS_FILE

Changed from around line 286:

set metdate = `echo ${date} | cut -c3-8`
setenv METCRO2D ${MET_ROOT}/METCRO2D_${metdate} 

to

 setenv   METCRO2D   ${MET_CRO_2D} 

Update 10/11/2024: An alternative fix for the above issue is to use ${MET_CRO_2D} directly instead of setenv setenv METCRO2D ${MET_CRO_2D} in $SMOKE/scripts/emf/afdust_adj_emf.csh. However, doing so requires modification to $SMOKE/scripts/afdust_adj/apply_precip_adj_wrf.f which in its current form requires METCRO2D as environmental variable name.

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